Viewing page redirect
page redirect
User: Susan S. 6 years ago
|
|
I asked this (or similar) before, a few years ago and I searched for "page redirect" and my name but couldn't find the answer. So I'm asking again. I'm using a master page and the navigation widget. My website has a few menu items that don't need any page, they are just redirecting to another website (my client's blog, her store, etc). She really doesn't like having a menu item "blog" that you have to click and go to a website page that says "visit my blog" and you have to click that link. Too many clicks. Is there a way to have that navigation menu item just click directly over to her blog? If not is there some sort of code that I can put on a blank page that will redirect. I know there is I've used it before but I've searched for that and I can't find what I'm looking for. I use to use an html snippet but is there some other better way to do this if I can't do it directly from the top navigation menu? PS: I finally did a google search and found an old post of Roddy's that had some info in it. I'm using this code: <meta http-equiv="refresh" content="0;url=http://www.siteurl.com/" /> It works but I want the new page to open in a new window, so I tried the code below and it still isn't opening in another window. Can this be done, am I missing something? <meta http-equiv="refresh" content="0;url=https://siteurl.com" target=“_blank”/> Many thanks, Susan Last edit 6 years ago |
|
User: Roddy 6 years ago
|
|
Adding taget="_blank" to the meta refresh doesn't work as you have discovered. You use to be able to use java script to redirect and open in a new wiindow but all modern browsers see this as a popup and block it. The alternative is to use a navigation widget which allows for external links which open in a new window. The are quite a few of them in the EverWeb Widgets site. Here's an example of sticky tabs where the last link opens the page in a new window. ------------------------------- 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. |