Viewing Use navigation bar buttons to open an external page in a new window.

Use navigation bar buttons to open an external page in a new window.



User: Peter B. 12 years ago
A feature I would love to see added to Everweb is to be able to use the navigation bar open an external page in a new window.

This feature would make browsing to linked sites much easier and allow users to return to my site.

Several helpful people in the "how do I" forum have been trying to help me to do this using javascript but I don't have the skill to get it done in that manner. I'll have to wait to port my iWeb site to Everweb.
User: Paul-RAGESW 12 years ago
We will look into adding this feature to make it easier.

-------------------------------
Paul
EverWeb Developer
User: Elsa W. 12 years ago
Yes I was in search for that as well. Would be appreciate if that would be possible.
User: John C. 12 years ago
Two issues with the Directory system you have set up now:
The way it is set up now I'm confused, what do you do with the directory page. Like the example of josh's real-estate
You have Main directory "HOUSES" then "RENT" and "BUY" or something like that. What do you do with the "HOUSES" link. set up a extra page with the other two links on it. Is there a way to disable the main directory link so it forces you to go to the other two pages.
An then you have the problem of having to create more pages instead of just linking to the sites you want. So you customer has more pages than necessary to click through. Please address this soon. thank you
User: John C. 12 years ago
Two issues with the Directory system you have set up now:
The way it is set up now I'm confused, what do you do with the directory page. Like the example of josh's real-estate
You have Main directory "HOUSES" then "RENT" and "BUY" or something like that. What do you do with the "HOUSES" link. set up a extra page with the other two links on it. Is there a way to disable the main directory link so it forces you to go to the other two pages.
An then you have the problem of having to create more pages instead of just linking to the sites you want. So you customer has more pages than necessary to click through. Please address this soon. thank you
User: Roddy 12 years ago
Here's my take on how to setup a directory…

http://everwebcodebox.com/layout/directories.html

You can also use it to open an external page by entering an absolute file path.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: John C. 12 years ago
Thanks for the dir info
Could you explains how to do
"You can also use it to open an external page by entering an absolute file path. "
User: Roddy 12 years ago
Note how I have replaced page-name.html with http://everwebcodebox.com/layout/directories.html

<meta http-equiv="refresh" content="0;url=http://everwebcodebox.com/layout/directories.html" />

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Alan H. 11 years ago
Like Peter B and Elsa W I too am staying with iWeb until EverWeb has the facility to add external page links to the nav bar. Hopefully soon....?
User: Paul-RAGESW 11 years ago
EverWeb already allows you to do this as Roddy has pointed out in this thread.

iWeb does not let you do this though with the built in navigation bar.

If you are having trouble implementing this, please let me know.

-------------------------------
Paul
EverWeb Developer
User: Jumbo T. 11 years ago
Here's a solution that works :

http://trotter.is-best.net/target/
User: Alan H. 11 years ago
Thanks, Roddy's solution seems to work.
User: Roddy 11 years ago
It's better to use the meta tag rather than a javascript workaround. I don't like to depend on javascript for essential items like a navigation menu.

One of iWeb's worst features was the use of javascript for the default navigation menu. Only Apple could do such a stupid thing and get away with it!

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Jeff B. 11 years ago
Hi Roddy - thanks, your code below works for external links from the navigation menu as described- BUT can you please show me how to open this link in a NEW page? Can't figure that one out!
thanks

Quote: Roddy - 17/05/2014 12:18:14
Note how I have replaced page-name.html with http://everwebcodebox.com/layout/directories.html

<meta http-equiv="refresh" content="0;url=http://everwebcodebox.com/layout/directories.html" />
User: Roddy 11 years ago
You cannot use the meta refresh to open a page or file in a new window.
If you really want to do this you would need to use the javascript workaround suggested by Jumbo T above.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.