|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
images...
Hey, I forgot the code to open an image in a sized window. I can't seem to find the code either. To see exactly what I am talking about, go to http://novahq.net and click on the new screenshot in the middle of the page at the top. Anyway, if anyone can help me with this, it would be much appreciated. Thank ya girls
__________________
Quote:
|
#2
|
||
|
heres the code i use for my policy and terms & condition popups:
Java Script: Code:
<script language="JavaScript"> var WinNum=0; function WindowOpen(Url,x,y) { var String; String = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,"; String += ",width="; String += x; String += ",height="; String += y; WinPic=window.open(Url,WinNum++,String); } </script> Link Script: Code:
<td onClick="WindowOpen('LARGE IMAGE LINK or .PHP/.HTML PAGE',520,600)"> <a href="javascript:;">TEXT or SMALL IMAGE LINK </a> </td> i edited it a bit to get rid of the trash but here is my entire code for my uses: Java Script (no change from above): Code:
<script language="JavaScript"> var WinNum=0; function WindowOpen(Url,x,y) { var String; String = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,copyhistory=0,"; String += ",width="; String += x; String += ",height="; String += y; WinPic=window.open(Url,WinNum++,String); } </script> Code:
<td bgcolor="050C12" style="cursor:pointer" onClick="WindowOpen('http://dfmafia.net/policy.html',520,600)" onMouseover="this.style.backgroundColor='1E252A'" onMouseout="this.style.backgroundColor='050C12'"> <a href="javascript:;" > <img src="images/policy.gif" border="0"> </a> </td> hope this helps
__________________
DON'T LOOK AT MY SPELLING CAUSE IT SUCKS AND I DON'T CARE __________________ *MaFiA*...Trust...Respect . . . Family BF *MaFiA* - CoD *MaFiA* - DF *MaFiA* - JO *MaFiA* - RvS ¤MaFiA¤ - SW *MaFiA* - Capo Crimini The Site Last edited by G.I.JOE*MFA*; 12-09-2004 at 06:18 PM. |
#3
|
|||
|
Thanks m8
__________________
Quote:
|
#4
|
||
|
i made a few eidts and added some content to help out some more and also included a working example of my code
__________________
DON'T LOOK AT MY SPELLING CAUSE IT SUCKS AND I DON'T CARE __________________ *MaFiA*...Trust...Respect . . . Family BF *MaFiA* - CoD *MaFiA* - DF *MaFiA* - JO *MaFiA* - RvS ¤MaFiA¤ - SW *MaFiA* - Capo Crimini The Site |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Images | bigjoe11a | Sigs and Graphics | 7 | 08-04-2008 09:25 AM |
Images in Header | DevilDog#1 | Feedback / Novahq.net Support | 7 | 05-24-2005 12:03 AM |
Random Images. | atholon | Sigs and Graphics | 4 | 02-02-2005 01:20 PM |
Images... | HeadShot=ICE= | Sigs and Graphics | 7 | 09-01-2003 05:17 PM |