Forum Moderators: open
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]
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.
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?
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.