• 0

Can not open pop-up in my code


Question

Hi, I really need some help gusy...

I'm working on a website www.webwatcher.info/minimal/

As you can see I have a small menu in the middle, and I would like to open these sections via a pop-up ... but I realy suck I just can get it work,

I would like that if you click on photo book, that a window appear with no addres bar and so on.. I tried several JScripts but mostly it results in a malfunctional site

Thnx

www.webwatcher.info/minimal/

<div id="Layer4" style="position:absolute; width:2px; height:30px; z-index:2; left: 652px; top: 31px;"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('PhotoBook','','photobook2.gif',1)"><img src="photobook1.gif" alt="PhotoBook" name="PhotoBook" width="130" height="30" border="0"></a></div>

Really Appriciate your help!!

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

you can do it several ways, you can do a javascript pop up and control the size of the windows, or you can simply put

target="_blank"

in the

<a href="

tag which is a little nasty, but basically opens a new webpage

it would look like

<a target="_blank" href="yourlinkhere">your link here</a>

EDIT - it helps if i spell the code tag correctly for you too :wacko:

Link to comment
Share on other sites

  • 0
you can do it several ways, you can do a javascript pop up and control the size of the windows, or you can simply put

target="_blank"

in the

<a href="

tag which is a little nasty, but basically opens a new webpage

it would look like

<a target="_blank" href="yourlinkhere">your link here</a>

EDIT - it helps if i spell the code tag correctly for you too :wacko:

Yes I'm using target.. blank.. I can use this in Dreamweaver.. but I would like to set width and height.. :)

Link to comment
Share on other sites

  • 0

I would stongly adivse against using pop-ups all together. They are irritating. And I know many others like myself that have popups blocked and when navigating a site using them it becomes extremely irritating.

Link to comment
Share on other sites

  • 0

you'll want to use javascript, but i agree with kaotik, pop up are very annoying...what you might consider doing instead is IFRAME (inline frames). basically creates a window within a window...no multiple browsers, etc. you have to remember, many people here at neowin have hardcore machines, but the majority of websurfers are getting by on the bare minimum, basically too many browsers and you flood their RAM.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.