HTML code question.. - Great Lakes 4x4. The largest offroad forum in the Midwest

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.

greatlakes4x4.com is the premier Great Lakes 4x4 Forum on the internet. Registered Users do not see the above ads.
Search
Reply
 
Thread Tools Search this Thread
Old March 7th, 2006, 02:15 PM   #1
clarkstoncracker
lol
 
clarkstoncracker's Avatar
 
Join Date: 11-03-05
Location: OC - MI
Posts: 42,536
iTrader: (40)
Mentioned: 116 Post(s)
Send a message via AIM to clarkstoncracker
Default HTML code question..

whats the html code to make an image appear in a popup when clicked?
__________________
clarkstoncracker is offline   Reply With Quote
Sponsored Links
Advertisement
 
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)
Mentioned: 0 Post(s)
Send a message via ICQ to Lothos Send a message via AIM to Lothos Send a message via Yahoo to Lothos
Default

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,082
iTrader: (18)
Mentioned: 0 Post(s)
Send a message via AIM to JeepMann
Default

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 Search this Thread
Search this Thread:

Advanced Search

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 03:06 AM.


Powered by: vBulletin, Copyright 2000 - 2012, Jelsoft Enterprises Ltd.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd. Runs best on HiVelocity Hosting.
Page generated in 0.10546 seconds with 30 queries