PDA

View Full Version : jscript - rollover image to open full screen



thesven
May 2nd, 2003, 06:51 PM
Hi,

I am jscript challenged and need some help.

I have a page http://www.promomeals.com that contains rollover buttons and I need them to open a fullscreen when clicked. Any help is appreciated.

I can find details on using test links to do this but not incorporating an image as a rollover.

Thanks
thesven

Spudhead
May 2nd, 2003, 07:01 PM
PLEASE don't do this. Please. Fullscreen windows are the devil's work and won't do your site or your visitors any good at all. They annoy people, they confuse people, and they WILL put people off the site.

thesven
May 2nd, 2003, 07:22 PM
I'd settle for just removing the toolbar and menu if this is possible. I need a new window sized 800x600.

Any suggestions?

requestcode
May 2nd, 2003, 07:45 PM
Here is an example that uses a text link, but you should be able to adapt it to your needs:
<html>
<head>
<title>Open new window</title>
<script LANGAUAGE="javascript">
function OpenWin(linkid,wid,hit)
{
winprops="width="+wid+",height="+hit+",location=no,status=no,directories=no,toolbar=no,scrollbars=no,menubar=no,resizable=no,top=30,left=3 0"
NewWin=window.open(linkid, "newwin",winprops)
NewWin.focus()
}
</script>
</head>
<body>
<center>
<br><br><br>
<a href="javascript:OpenWin('page1.html','200','200')">Click here</a><br>

</center>
</body>
</html>

thesven
May 2nd, 2003, 10:03 PM
Thanks!

I do appreciate your help. I need to know how to incorporate the image that is a rollover into the syntax of this code.

That's what I can't figure out...........

Thanks again.