SitePoint Sponsor |
|
User Tag List
Results 1 to 10 of 10
-
Aug 1, 2003, 05:23 #1
- Join Date
- Apr 2003
- Location
- Stuttgart / Düsseldorf / Brighton
- Posts
- 61
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
open link in new window - THEN remove toolbar and menus (like window.open)
hi,
i need to open a link in a new window using html only (target _blank) but would like to design the page that i open to look like a 'normal' javascript pop-up ie without toolbar and menu.
i know that i can resize the window onload, so that's no problem, but i couldn't find a way to remove all the other typical browser window elements...
you ask why? because I'm opening from a hotspot in a quicktime QTVR movie where I can only specify a link as in the contents of the href attribute, so I can't add any javascript, as it is sent to the browsers address link immediately).
cheers for any hints!
julius
-
Aug 1, 2003, 06:48 #2
Have you tried <a href="javascript:window.open();"> -- I'd lay on money it'll work...
Edit:
Obviously, ignore the space in javascript -- I didn't put it there. vBulletin did!
Drupal Development -- Hire me!
Drupal Training | Darwin Awards Moderator | Classic Cars
SitePoint | Blog | Rent Games Online | Car | Talent
-
Aug 1, 2003, 07:28 #3
- Join Date
- Apr 2003
- Location
- Stuttgart / Düsseldorf / Brighton
- Posts
- 61
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
good man - it worked!! had tried something similar but not put the "javascript:" bit in front...
cheers!
-
Aug 1, 2003, 07:29 #4
Shame you weren't up for a bet...
Glad it's working.
Drupal Development -- Hire me!
Drupal Training | Darwin Awards Moderator | Classic Cars
SitePoint | Blog | Rent Games Online | Car | Talent
-
Aug 1, 2003, 09:50 #5
-
Aug 1, 2003, 09:52 #6
Fair play. I never knew that...
Drupal Development -- Hire me!
Drupal Training | Darwin Awards Moderator | Classic Cars
SitePoint | Blog | Rent Games Online | Car | Talent
-
Aug 1, 2003, 09:53 #7
- Join Date
- Apr 2003
- Location
- Stuttgart / Düsseldorf / Brighton
- Posts
- 61
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
oho - will try that soon. will it work in more browsers then (i guess that this sort of thing is not specified in any standards anyway??)
-
Aug 1, 2003, 14:40 #8
- Join Date
- Jan 2003
- Location
- Calgary, Canada
- Posts
- 2,063
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Originally Posted by beetle
Who walks the stairs without a care
It shoots so high in the sky.
Bounce up and down just like a clown.
Everyone knows its Slinky.
-
Aug 1, 2003, 15:04 #9
- Join Date
- Jul 2002
- Location
- Dallas, TX
- Posts
- 2,900
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sorry, I should clarify. That is the preferred syntax when using a null link.
<a href="javascript://" onclick="somefunc()">link</a>
Not for function execution from the href.
-
Aug 2, 2003, 00:16 #10
- Join Date
- Jan 2003
- Location
- Calgary, Canada
- Posts
- 2,063
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ahh, well then, good work
heh.
Who walks the stairs without a care
It shoots so high in the sky.
Bounce up and down just like a clown.
Everyone knows its Slinky.
Bookmarks