Viewing Tabs used in EW and Google results
Tabs used in EW and Google results
User: Raf P. 9 years ago
|
|
Hi, Google found my tab-made-pages. They show only the tab-content of course. I tried to use htaccess redirect 301 to open these pages in the page where all tabs are included but an error shows up. Is it possible to put a 'command' in the 'head code box' of each tab-made-page so these pages opens the 'all-tabs-included-page'? Kind regards, Raf ------------------------------- Kind regards, Raphael Pairoux |
|
User: Roddy 9 years ago
|
|
Can you post the URL to the page?
------------------------------- 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: Raf P. 9 years ago
|
|
Please http://www.dierenartsfrankslegers.be/voedingverkoop.html ------------------------------- Kind regards, Raphael Pairoux |
|
User: Jumbo T. 9 years ago
|
|
Search google for "escape from iframe" java script. And then do the opposite. |
|
User: Jumbo T. 9 years ago
|
|
Here's a page with code : http://usablelayout.com/articles/automatically-break-out-iframe So Instead of checking if page is NOT top page (the ! In the code) do the opposite. If page is top page then show page with tabs. |
|
User: Jumbo T. 9 years ago
|
|
Do not blindly copy paste code. The page http://www.dierenartsfrankslegers.be/voedingverkoop.html redirects to : http://www.dierenartsfrankslegers.be/tabsvoeding/tabvitaminen.html because you pasted the code from the link without changing the test in the java script. So let's change it a bit : <script> <!-- if (top.location == self.location) { top.location = 'http://www.dierenartsfrankslegers.be/voedingverkoop.html'; } //--> </script> I've been busy too. Here's a page that redirects to the main page and not only that, it also diplays the content of the page : http://trotter.is-best.net/ewajax/code.html The top.location in the java script is this : http://trotter.is-best.net/ewajax/?b=code In the index.html page a java script checks for the code after the ? and uses it to find the text to display. See the source at the end for the code. It's rather useless in most case, but once you do something, you might as well add it. Other links are : http://trotter.is-best.net/ewajax/?b=expert http://trotter.is-best.net/ewajax/?b=text_one http://trotter.is-best.net/ewajax/?b=text_two It's done with AJAX, not iframes. Last edit 9 years ago |
|
User: Raf P. 9 years ago
|
|
Hi Jumbo, did all the changes like you gave. Also the ones they go to another tab-page. Works PERFECT! When I click the 'tab-pages' found by Google: they go straight to the 'main page'! You're too good! ------------------------------- Kind regards, Raphael Pairoux |
|
Post Reply |
You must login or signup to post. |