• 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
https://www.neowin.net/forum/topic/73246-can-not-open-pop-up-in-my-code/
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:

  • 0
  theprotege said:
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.. :)

  • 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.

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

    • No registered users viewing this page.
  • Posts

    • Xbox July Update brings PC app cloud upgrades and Rewards support by Pulasthi Ariyasinghe The Xbox team at Microsoft has another major series of updates hitting its platforms. The Xbox July Update is primarily bringing new features to the PC application, while cloud gaming services are also being upgraded. A lot of these additions were a part of Insider testing sessions previously, but now they are ready for prime time. First off, Game Pass Ultimate members can now stream supported games over the cloud, as long as they own a copy on the Xbox store. The Stream Your Own Game feature can be accessed via the Cloud Gaming section on the Xbox PC app. The feature now boasts over 250 supported games too, with recent additions including classic Assassin's Creed titles, LEGO games, and the Saints Row series. Upcoming games to the lineup include RoboCop: Rogue City – Unfinished Business, Tetris Effect Connected, Wo Long Fallen Dynasty, and more. Check here to get a full list of games. Don't forget that cross-device play histories on the app also landed for Xbox Insiders earlier this month, letting players see what games they have been playing regardless of console, PC, or cloud Xbox platform being used. Another new feature announced today as landing on the PC app this month is Rewards with Xbox. Only available in select markets and only for those above 18, Rewards can now be found in the Home section with easy access to checking out how to get more points, track progress, and more. The Xbox and Antstream Arcade joint venture, the Retro Classics app, is gaining seven more games too. These are Caesar, Conquests of Camelot: The Search for the Grail, Gabriel Knight: Sins of the Fathers, Hard Head, Okie Dokie, Skate Boardin’, and Skeleton+. Lastly, mouse and keyboard as well as touch controls continue to roll out for more games, with Police Simulator: Patrol Officers getting support for the former while South of Midnight has gained the latter.
    • https://www.neowin.net/news/a-...erating-online-chat-client/ It looks like they're trying to reinvent the abaonded wheel.
  • Recent Achievements

    • Week One Done
      NeoWeen earned a badge
      Week One Done
    • One Month Later
      BA the Curmudgeon earned a badge
      One Month Later
    • First Post
      Doreen768 earned a badge
      First Post
    • One Month Later
      James_kobe earned a badge
      One Month Later
    • Week One Done
      James_kobe earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      661
    2. 2
      ATLien_0
      253
    3. 3
      Xenon
      164
    4. 4
      neufuse
      144
    5. 5
      +FloatingFatMan
      119
  • Tell a friend

    Love Neowin? Tell a friend!