The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Open New Window, Real HTML Begginer
b_ginna
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
John Pozadzides
post 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. sad.gif

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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
b_ginna
post Sep 5 2006, 08:33 PM
Post #3





Group: Members
Posts: 2
Joined: 5-September 06
Member No.: 73



QUOTE(John Pozadzides @ Sep 5 2006, 08:28 PM) *

Sorry I can't answer this question. sad.gif

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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 5 2006, 09:17 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
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 .
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
mcmuffin
post 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 ninja.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Sep 27 2006, 03:47 PM
Post #6


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



QUOTE(mcmuffin @ Sep 27 2006, 01:39 PM) *
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Sep 27 2006, 03:50 PM
Post #7


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



Isn't it freewebs that only allows a small number fo files? Odd restriction, that.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
jimlongo
post 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



QUOTE(b_ginna @ Sep 5 2006, 09:33 PM) *

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Kewley
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Oct 11 2006, 05:55 AM
Post #10


.
********

Group: WDG Moderators
Posts: 9,630
Joined: 10-August 06
Member No.: 7



QUOTE(Kewley @ Oct 11 2006, 12:25 AM) *

CODE
on (release) {
getURL("java script:launch('URL-HERE')");
}



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).
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Oct 11 2006, 08:12 AM
Post #11


WDG Member
********

Group: Root Admin
Posts: 8,365
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. ;-)
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 06:07 AM