Open New Window, Real HTML Begginer |
Open New Window, Real HTML Begginer |
b_ginna |
Sep 5 2006, 05:46 PM
Post
#1
|
Group: Members Posts: 2 Joined: 5-September 06 Member No.: 73 |
Hello everyone, I need some help opening a new window of a certian size with limited features.
Here's my scenario: I have developed a page in Flash MX and I want to be able to click on a link in the flash movie which opens a new window on top that is limited to 600 x 500 pixels, no tollbar, no location, no directory etc. I have worked out how to call a new window from Flash MX and I have worked out how to get a Javascript to make the window I want but I cant seem to be able to do it in one step. Can anyoone help please? Rgds, b_ginna |
John Pozadzides |
Sep 5 2006, 08:28 PM
Post
#2
|
WDG Founder Group: Root Admin Posts: 529 Joined: 3-August 06 From: Magnolia, TX Member No.: 2 |
Sorry I can't answer this question.
I am however moving it to the Flash and Multimedia forum as it seems you are looking for help with how to open a new window specifically using Flash. John |
b_ginna |
Sep 5 2006, 08:33 PM
Post
#3
|
Group: Members Posts: 2 Joined: 5-September 06 Member No.: 73 |
Sorry I can't answer this question. I am however moving it to the Flash and Multimedia forum as it seems you are looking for help with how to open a new window specifically using Flash. John Thanks John, you can see from my ambigious question that I am a newbie. All I really want to do it open a new window wiht pre-determined parameters. Regards, b_ginna |
pandy |
Sep 5 2006, 09:17 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
We know how to do that, but not how to do it from Flash. Do you use normal JavaScript to do this from within Flash? In that case, see http://htmlhelp.com/faq/html/links.html#window-specify .
|
mcmuffin |
Sep 27 2006, 03:39 PM
Post
#5
|
Group: Members Posts: 2 Joined: 27-September 06 Member No.: 248 |
[color=#FF0000] if ur a biginer the best place to go for help is funky chickens html help (dont be put off by the title or aternatavbly go to this is a good site to start making a page on you can use the nocice no html or the html builder
hope that helped |
Darin McGrew |
Sep 27 2006, 03:47 PM
Post
#6
|
WDG Member Group: Root Admin Posts: 8,366 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
if ur a biginer the best place to go for help is funky chickens html help (dont be put off by the title Flavell's Law applies:http://www.htmlhelp.com/cgi-bin/validate.c...mp;warnings=yes http://jigsaw.w3.org/css-validator/validat...;usermedium=all And I can't recommend the advice in the tutorial either. |
pandy |
Sep 27 2006, 03:50 PM
Post
#7
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,753 Joined: 9-August 06 Member No.: 6 |
Isn't it freewebs that only allows a small number fo files? Odd restriction, that.
|
jimlongo |
Sep 27 2006, 04:23 PM
Post
#8
|
This is My Life Group: Members Posts: 1,128 Joined: 24-August 06 From: t-dot Member No.: 16 |
Thanks John, you can see from my ambigious question that I am a newbie. All I really want to do it open a new window wiht pre-determined parameters. Google leads me to believe it's something along the lines of getUrl. |
Kewley |
Oct 10 2006, 05:25 PM
Post
#9
|
Group: Members Posts: 2 Joined: 10-October 06 Member No.: 397 |
Add this to the launch button in your flash file:
CODE on (release) { getURL("java script:launch('URL-HERE')"); } Add the following to the html page that your flash movie is embedded in. CODE <script language="javascript"> function launch (page) { openwin = this.open(page,"Javascript test",& #34;location=no,scrollbars=yes,toolbar=no,menubar=no,resizable=no,width=600,heig ht=500,top=20,left=20");} </script> Note: This will only work if it is running on a server. This post has been edited by Kewley: Oct 10 2006, 05:30 PM |
Christian J |
Oct 11 2006, 05:55 AM
Post
#10
|
. Group: WDG Moderators Posts: 9,722 Joined: 10-August 06 Member No.: 7 |
|
Darin McGrew |
Oct 11 2006, 08:12 AM
Post
#11
|
WDG Member Group: Root Admin Posts: 8,366 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
QUOTE Note that there probably shouldn't be a space between "java" and "script", this is a bug in the forum software (even if you type "javascript" the space is sometimes added). I think it's supposed to be a security measure, but IMHO it serves as a good reminder that any time you're tempted to use java script:... pseudo-URLs, you should reconsider. It's better to use a real URL, and to put the JavaScript in an event handler. ;-) |
Lo-Fi Version | Time is now: 21st September 2024 - 06:44 PM |