Go Back   Great Lakes 4x4. The largest offroad forum in the Midwest > General 4x4 Stuff > The Pub
GL4x4 Live! GL4x4 Casino

The Pub A friendly forum where everybody is nice, and will answer any questions you have about life.







Search
Reply
 
Thread Tools
Old March 7th, 2006, 02:15 PM   #1
clarkstoncracker
lol
 
clarkstoncracker's Avatar
 
Join Date: 11-03-05
Location: OC - MI
Posts: 42,013
iTrader: (39)
Send a message via AIM to clarkstoncracker
HTML code question..

whats the html code to make an image appear in a popup when clicked?
__________________
clarkstoncracker is offline   Reply With Quote
Old March 7th, 2006, 02:18 PM   #2
Lothos
KD8GKB
 
Lothos's Avatar
 
Join Date: 11-17-05
Location: .5 past lightspeed
Posts: 6,506
iTrader: (3)
Send a message via ICQ to Lothos Send a message via AIM to Lothos Send a message via Yahoo to Lothos
Quote:
Originally Posted by clarkstoncracker
whats the html code to make an image appear in a popup when clicked?

Thats a javascript.


Fine.


<a href="/gallery/photos/4x4394.jpg"target="new"><img src="/gallery/thumbnails/4x4394.jpg"></a>

Last edited by Lothos; March 7th, 2006 at 02:20 PM.
Lothos is offline   Reply With Quote
Old March 7th, 2006, 02:32 PM   #3
JeepMann
10 Years
 
JeepMann's Avatar
 
Join Date: 11-04-05
Location: Waterford, MI
Posts: 7,080
iTrader: (18)
Send a message via AIM to JeepMann
if you want it the right size with no other buttons then....


put this in the head

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function NewWindow(mypage, myname, w, h, scroll, menu, resizable) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl +',scrollbars='+scroll+',menubar='+menu+',resizabl e='+resizable+''
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// End -->
</script>


and this is your link. the size can be adjusted to pic size...

<A href="http://www.dirtymindsjeepclub.com/images/blessing04images/100_2723.jpg" onclick="NewWindow(this.href,'name','840','590','y es','no');return false;"><IMG src="http://www.dirtymindsjeepclub.com/images/blessing04images/thumbnails/100_2723.jpg" border=0></A></TD>
JeepMann is offline   Reply With Quote
Reply
Great Lakes 4x4. The largest offroad forum in the Midwest > General 4x4 Stuff > The Pub
Thread Tools

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



All times are GMT -5. The time now is 07:40 AM.


Powered by: vBulletin, Copyright 2000 - 2012, Jelsoft Enterprises Ltd.
Copyright 2005 - 2012 Cracker Enterprises - Powered by Linux
vB Ad Management by =RedTyger=
Page generated in 0.09811 seconds with 16 queries