Forum Moderators: open

Message Too Old, No Replies

window resize effects?

question about resize script, chromeless windows and SE

         

Bluetuna

9:58 pm on May 16, 2002 (gmt 0)

10+ Year Member



Does anyone know if it is a no no to put a window resize script in a page if you are worried about SE? I have a client, and they want a small window, chromeless, to open and house their site. The set up would be as follows: Index page would have an enter link which would open the fixed size window. My goal is not to anger the SE. Thank you.

agerhart

2:01 pm on May 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The script that I have seen for this function is done with Javascript. Search engines will not follow JavaScript links....and furthermore it will be beneficial to take all of your JS code and place it in an external JS file which is then linked to.

tedster

10:32 pm on May 20, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you make the link straight HTML and then call all your javascript onClick, you've given the spiders something they can eat.

<a href="http://www.example.com/foo.htm" onClick="chromelessWindow();return false;">link text</a>

The return false; will keep the new document from loading in both the original window and the new popup.