Forum Moderators: open

Message Too Old, No Replies

Another Redirect Question

Redirect, close, open new window with toolbar="no" ect.

         

rangerstrider

9:19 pm on Sep 6, 2003 (gmt 0)

10+ Year Member



I know a lot of you have probable seen this one before in one form or another.<br>

I am a beginner with macromedia firworks. I can create dropdowns for url's but I want the url to open in a specified size with no toolbar, no scrollbar ect. and its just a nightmare.<br>

So what I thought of doing...here it comes...is put in a url to a redirect page. Set up the new url there for opening without the toolbars ect, and have the redirect page close with the opening of the new url.<br>

I can redirect with a meta command such as:

<html>
<head>
<meta http-equiv="REFRESH" content="0; URL=http://homepage.html">
<script language="javascript">
</script>
</head>
<body>

</body>
</html>

I can open a url from a hyperlink that will do what I want such as:

<A HREF= "#" onClick="window.open('x.html','x','toolbar=no,width=340,height=260, left=500,top=200,screenX=500,screenY=200,status=no, scrollbars=no,resize=no'); return false"><B>Nurses</B></A>

but for the life of me I can't go to a redirect page and send it to the url with the proposed settings.<br>

If anyone could help I'd greatly appreciate it. I've spent days on this and just feel stuck in the mud.

[edited by: korkus2000 at 12:31 am (utc) on Sep. 7, 2003]
[edit reason] fixed side scroll [/edit]

korkus2000

12:31 am on Sep 7, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld rangerstrider,

If you are trying to redirect the main window and then create a pop-up, then close the main window, you can't do that. JavaScript can only close windows you create or have ownership of. Let me know if this is not what you are asking.

rangerstrider

2:12 am on Sep 7, 2003 (gmt 0)

10+ Year Member



Thanks for listening.

I want a redirect page. This redirect page will send the viewer to another page and then close itself immediately(content 0).

The new page that is opened by the redirect will not have scrollbar, toolbar, status, resize, ect, and will be fixed to a size of 380X260.

The purpose of this is for some flash auto scrolling slideshows of specific size (viewing in 360X240).

I have done this with an <a href.....></a> in a html page but in Fireworks MX this is now allowed. The url input is assigned to a graphic button and no additional parameters are allowed.

I understand how to make a redirect page that closes itself.
I know how to use html to open a new window with the stated attributes. The problem is I cant combine these together.

I hope this makes sense.