Author Topic: Javascript  (Read 2678 times)

RatBastard

  • Member
  • Posts: 2955
    • Obscenitees
Javascript
« on: August 30, 2013, 03:44:29 am »
Any of y'all out there javascript junkies?  I have an issue I cannot seem to resolve (probably a result of my less than stellar understanding of JS) involving opening up a popup window and handling the state of the main window.  I have the popup working just fine.  It opens as desired and i have it presenting centered on the screen, however if the link that calls the popup is far enough down the page that the page has to be scrolled, the main window scrolls back to the top of the page when the popup is opened.  I would like to have the main window stay where it is (with the popup link still in view) when the popup window opens.  Any ideas?
FUKIT

Yada

  • Member
  • Posts: 11900
Re: Javascript
« Reply #1 on: August 30, 2013, 08:33:21 am »
alt + f4

if that doesn't work, try www.meatspin.com

i am gay and i like cats

  • Guest
Re: Javascript
« Reply #2 on: August 30, 2013, 09:20:06 am »
that was not a very nice thing to do . . . until i clicked on it.

RatBastard

  • Member
  • Posts: 2955
    • Obscenitees
Re: Javascript
« Reply #3 on: August 30, 2013, 03:52:35 pm »
Won't going to a command prompt and typing format c: \y work?
FUKIT

RatBastard

  • Member
  • Posts: 2955
    • Obscenitees
Re: Javascript
« Reply #4 on: August 30, 2013, 03:57:16 pm »
FUKIT

RatBastard

  • Member
  • Posts: 2955
    • Obscenitees
Re: Javascript
« Reply #5 on: August 31, 2013, 02:51:15 am »
As it turns out it was very easy...

onclick="function('parameters); return false"

I had the return false call in the function instead of at the end of the event.
FUKIT

i am gay and i like cats

  • Guest
Re: Javascript
« Reply #6 on: August 31, 2013, 10:12:02 am »
is it wrong of me to admit . . . i know what java is, but i dont know what a javascript is.  is that like where java has to try out for parts in the computer and has to read a script to get the part?  how many other javas does the one java beat out for that part, and do they secretly hate each other.

RatBastard

  • Member
  • Posts: 2955
    • Obscenitees
Re: Javascript
« Reply #7 on: August 31, 2013, 04:57:55 pm »
is it wrong of me to admit . . . i know what java is, but i dont know what a javascript is.  is that like where java has to try out for parts in the computer and has to read a script to get the part?  how many other javas does the one java beat out for that part, and do they secretly hate each other.

I don't think it is wrong for you to admit anything! LOL
FUKIT