Forum Moderators: open

Message Too Old, No Replies

Links not spidered?

         

zilverhippie

7:04 pm on Jan 4, 2003 (gmt 0)

10+ Year Member



Hello,

My first post, here I go:

I've a lot of links on my page in the following format:

<A HREF="#upperpart" onClick="window.open('mysubdir/mypage1.htm','popup','toolbar=no,location=no,
directories=no,status=no,menubar=no,scrollbars=no,
resizable=no,copyhistory=no,width=540,height=530')" onMouseOver="this.style.color='#91AAA4';window.status='Page1
';return true;" onMouseOut="this.style.color='#14382F';window.status='';
return true;"><B>Page1</B></A>

The reason why I'm using this format is because I can control the layout (framesize, toolbar appearance, etc...).
I assume that this kind of links are not spidered by Google (because of the HREF"#upperpart").
Is there a way to get spidered by Google AND to keep the control of my popup frames?

Thanks

Zilverhippie

[edited by: Marcia at 11:51 pm (utc) on Jan. 4, 2003]
[edit reason] fixed sideways scroll [/edit]

IanTurner

11:29 pm on Jan 4, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



I don't think you can get the popups spidered directly and block the menu/scroll bar options. You can resize the window or reposition it once it is open using javascript.

You could consider an alternative link to the popup pages from a site map, which will get them indexed.

jomaxx

1:12 am on Jan 5, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put a "return false" at the end of the onClick event, and then you can replace "#upperpart" with the same URL you want the spider to follow.

That should work fine, but before implementing this solution, I think you should take a hard look at what you're doing and ask: am I messing with users' toolbars because I have an important reason to do so, or because I am an anal retentive control freak? I do use this trick on my own site, but only in certain places where it enhances the user experience.

P.S. Needless to say, when visitors arrive at your newly-indexed pages from a Google, the browser won't be set up the way you're trying to force it to be via that special link. There are ways around that problem as well, but now we're moving from the realm of possibly intrusive into downright evil.

aspdesigner

1:53 am on Jan 5, 2003 (gmt 0)

10+ Year Member



OK, if you want to be "truely evil" ;) you could write a little Javascript so that if the access came from outside your website (such as a search), that it would re-load itself into the desired window.

But why?

When someone sees a window formatted as you described, they immediately think "scam site".

Windows configured like you suggest are typically used by sleezy e-commerce sites that promise "SSL for your protection" when they are actually presenting you with an unencrypted page with a hidden E-MAIL form that sends your credit card info to a Hotmail account!

Or worse yet, a page that looks like a PayPal login screen or valid e-commerce site, but is actually going to some guy in Russia who plans on emptying your bank account!

Is this REALLY the impression you want to give potential visitors?

zilverhippie

4:01 pm on Jan 5, 2003 (gmt 0)

10+ Year Member



Thanks IanTurner, jomaxx and aspdesigner

No, I don't have bad intentions, but I know that using these things might seem suspicious...
I don't post the link to my pages here since it contains (soft) adult content, but I'll send you the link in a sticky mail.
I feel I need to resize the frame and hide the toolbars because it adds value to the user experience (like jomaxx said).
I'll change my code the way jomaxx explained (it works!) and hope all my pages will be spidered.