It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming HTML Forum

Target Frame script??!! Anyone.....

Target Frame script??!! Anyone.....

Postby sonyvegas on Fri Mar 30, 2007 3:53 pm

Hello all, if anyone's got any ideas......PLEASE HELP!!!

I want to create a hyperlink from a 'hotspot' within a picture to another page. However, I want it to open in a new window, of a set size, with no menus or anything, just a basic, new window.

It’s slowly eating me away!!
sonyvegas
 
Posts: 2
Joined: Fri Mar 30, 2007 3:47 pm

Postby ReFredzRate on Fri Mar 30, 2007 5:12 pm

Code: Select all
<a href="" target=_blank>


I'm not sure how to set a fixed size though. Not really sure if that's possible without JS either. Maybe someone else knows a bit more.
ReFredzRate
1000+ Club
 

Postby jberry on Fri Mar 30, 2007 5:15 pm

well to open in a new window it would be target_blank and that would open a new window as far as sizeof the window it mayhave to be done using javascript but I am not 100% sure
jberry
100+ Club
 
Posts: 144
Joined: Mon Mar 19, 2007 4:40 pm
Location: Atlantic City, NJ

Postby ReFredzRate on Fri Mar 30, 2007 6:27 pm

Wow... does it echo in here? ;)

Just kidding jberry
ReFredzRate
1000+ Club
 

Postby jberry on Fri Mar 30, 2007 6:29 pm

lol I was typing as you were posting great minds think alike
jberry
100+ Club
 
Posts: 144
Joined: Mon Mar 19, 2007 4:40 pm
Location: Atlantic City, NJ

Postby mwa103 on Wed Apr 04, 2007 4:28 pm

This is a link to a javascript popup code generator. Just fill in the options you want and presto! Then just copy the code into your document. Post back if you have any questions.

-Mike

http://javascript.internet.com/generators/popup-window.html
mwa103
100+ Club
 
Posts: 206
Joined: Mon Mar 07, 2005 10:55 pm

Postby sonyvegas on Thu Apr 05, 2007 1:51 pm

Ahh thats cool, but how would i link the popup window to the hotspot on my page? This is the bit i cant work out :(


Lewis
sonyvegas
 
Posts: 2
Joined: Fri Mar 30, 2007 3:47 pm

Postby mwa103 on Thu Apr 05, 2007 4:39 pm

Do you already have the hotspot set up? If not, there is a neat flash program I found online a while back that will let you set up the hotspots easily:
http://www.bezzmedia.com/htmlimagemap/

However, last time I checked (a few minutes ago) the site was loading slowly, so it may be down. I will look to see if I can find another one. Once you get the hotspots set up, there will be a link (<a href=...) for each one. All you need to do is make the link look like the one on that popup generator site I posted earlier:
Code: Select all
<AREA ... HREF="javascript:popUp('http://www.pagetoopen.com')" ...


-Mike

**EDIT** Found another page that does the same thing (image mapping):
http://www.pcoward.com/imagemapper/stage1.asp
mwa103
100+ Club
 
Posts: 206
Joined: Mon Mar 07, 2005 10:55 pm


Who is online

Users browsing this forum: No registered users and 4 guests