I have some code that will check a users screen resolution and open a new window with a particular version of my website in, I have several sites for different page sizes. But when this code runs in Safari the pop-up is blocked so I would like the image on my page to be a button that runs the code to open the 'correct' window (based on the screen res) and as a button is launching the new window Safari should be okay about it.
On one of my test sites I have an image that when you mouseover it has an enlarged image with description pop up which floats or aligns downward (default). Does anyone know the code or tag to make it float/align upward?
These images are near the bottom of the page so I want the pop up to pop up into the page and not down below the page line.[URl]..
Does anybody know how i check to see if the radio button is select and also can anybody tell me how i can check for an email in the correct format the function isValidEmail in the above alows emails to pass through.
All I need to do trigger some code when a button is clicked. I need it to add 1 to the variable "numberofbeers" each time - Then output the total again to the variable "beers". It doesn't work an I have no Idea why. I would be verry great full if you could help its driving me crazey
When we submit the form using a standard submit button, onSubmit is triggered and form is submitted. When I use a div and call submit() on its onClick event, the form is submitted but onSubmit is not triggered. Is there any possibility to trigger onSubmit explicitly without using button ??
Ok so I have a site that I want to automatically close the window when the focus is lost from the page. For example, if the user clicks off the page to something else on there desktop I want the page to close. So far I have managed to do this but the grids on my page and the scroll bars all trigger the close function when clicked on. Is there anyway to make the scroll bars and drop down boxes not trigger the function?
I'm tweaking this html form here's the code:[code]Everything works fine but how can I have it so when you click on the trigger (the button.png), the image of only that div slides down. The way it is now, when you click on the trigger, both the images in both divs slide down.
My issue is that I have everything working except the form! I'm not sure how to make it so that upon clicking the submit button the feedback is presented in the "feedback" frame. This was suggested to me but isn't working, maybe I have a mistake somewhere? Or is there another way I can do this?
I have an img#info that I want to fade in when a div#trigger is hovered over. Then I want to be able to move the mouse over to the image and click a hot spot there, without the image disappearing because I moved off of div#trigger.
This works fine as far as fading the image in and out. I tried then adding a hover statement for the img itself, below, but this doesn't work at all. The image is now always on, even though the alerts never fire when I roll on and off the image:
I wanna implement a button that shows the context menu. I already implemented[URL].. I am now searching for hours about those 2 terms but have not found an answer yet. Also tried to trigger it myself but had no success yet.