Go Back   Novahq.net Forum > Computers > Web design and Programming
FAQ Community Calendar Today's Posts Search

Web design and Programming Discuss website creation and other programming topics.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-09-2004, 03:44 PM
EDGE is offline EDGE
EDGE's Avatar

Join Date: Feb 2003
Location: North Carolina
Posts: 7,184

Send a message via ICQ to EDGE Send a message via AIM to EDGE Send a message via Yahoo to EDGE
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:
Voltaire
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets.
Reply With Quote
  #2  
Old 12-09-2004, 06:13 PM
G.I.JOE*MFA* is offline G.I.JOE*MFA*
Registered User

Join Date: Feb 2002
Posts: 437

Send a message via ICQ to G.I.JOE*MFA* Send a message via Yahoo to G.I.JOE*MFA*
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>
now look at the Link Script...see where it says ,520,600) - this is the size of the windows that pops up

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>
Link Script (note the changes for button links):
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.
Reply With Quote
  #3  
Old 12-09-2004, 06:17 PM
EDGE is offline EDGE
EDGE's Avatar

Join Date: Feb 2003
Location: North Carolina
Posts: 7,184

Send a message via ICQ to EDGE Send a message via AIM to EDGE Send a message via Yahoo to EDGE
Thanks m8
__________________
Quote:
Voltaire
It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets.
Reply With Quote
  #4  
Old 12-09-2004, 06:18 PM
G.I.JOE*MFA* is offline G.I.JOE*MFA*
Registered User

Join Date: Feb 2002
Posts: 437

Send a message via ICQ to G.I.JOE*MFA* Send a message via Yahoo to G.I.JOE*MFA*
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



Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -5. The time now is 08:38 PM.




Powered by vBulletin®