Forum Moderators: open

Message Too Old, No Replies

Googlebot and Following links

How to create sizeable windows that Googlebot will follow

         

kstprod

6:09 pm on Dec 18, 2002 (gmt 0)

10+ Year Member



Hi guys!

I have created several additional pages on my site, that I would love to be scooped up by Googlebot. One problem. The pages are html with embedded Flash, and I need to open them in a new size-specified window, in order for them to look good. I know I can do this in javascript, but Googlebot won't follow js links. Is there any way around this?

I thought that maybe I could use the normal href link and target new. Then, in the pop up's source, add a script that resizes the window with only the status. However, I can't get this idea to work.

Any other ideas?

Thanks!

Karen

Macguru

6:14 pm on Dec 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi kstprod,

You could use this (code missing window size).

<a href="foo.htm" onClick="window.open('foo.htm','','scrollbars=no,resizable=yes,menubar=no,toolbar=no');return false;" target="_blank">Anchor text</a>

I use this in the boby tag of target window :

onLoad=window.resizeTo(620,555)

kstprod

6:18 pm on Dec 18, 2002 (gmt 0)

10+ Year Member



Hey Mac,

Thank you! Seems I should have been able to find that somewhere, but I couldn't....lol... Where exactly does the size part go, in the code? I need 700x420.

Thanks again :)

Macguru

6:28 pm on Dec 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



In the body tag of the target window, such as :

<body BGCOLOR="#666666" onLoad=window.resizeTo(700,420);MM_preloadImages('../images/foo.gif','../images/foo_2.gif') leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

This will resize your window even if the referral is from a search engine (granted the browser uses JS).

kstprod

6:36 pm on Dec 18, 2002 (gmt 0)

10+ Year Member



That sure did it! Thank you so much.

You guys are the best! ;)

Karen

Macguru

6:38 pm on Dec 18, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe tedster deserves all the credit. One thing is for sure, I grabbed this trick from here!
Wish you to open those pages from Google soon! ;)