Click to See Complete Forum and Search --> : Javascript for killing M$ Hotmail Frames?


yinrunning
02-21-2003, 02:15 AM
Ok, so this isn't stricly a linux-related question, but it concerns my website, which currently has a RH HOWTO and will soon have Linux links, among other things Linux-related.

My pages look great (or as great as I've made them look. :)) except for when they get opened from Hotmail in a browser. Ya know the frame at the top that comes up when you click on things from Hotmail? Yeah, a friend pointed out that that was somehow smashing the main body text of my page slightly to the left, obscuring the beginnings of some lines in my border. I've tried it in dreamweaver, 1stPage, IE6, Mozilla and Konqueror. Nothing makes it look like that except for the damn Hotmail frame.

Now, this might not be the biggest catastrophe in the world, but it does piss me off that m$ is jacking my beloved page design, and that they put their icky frame all over the top of my site anyway.

So, I've tried every variation of the standard frame-killer Javascript I can thing of, even coding my site address right into it and trying for a redirect. I've put a spacer .gif in the ghost <td> in between my navbar and the body content. I've tried to think of any other possible angle.

Anyone know enough web design to know how to kill those damn Hotshmail frames!!??

plattypus1
02-21-2003, 03:17 PM
Get your friends to use a different e-mail service. Hotmail frames are, afaik, impossible to kill.

sharth
02-21-2003, 03:22 PM
you can always do a "If this page looks like s***, click this link to open it in a new window.

or you can use a javascript to check for a hotmail referral, and if such happens, close old window, open new window.

Okie
02-21-2003, 03:49 PM
i have not used hotmail in over a year, but when i did use it i noticed that hotmail does something to the links that are in emails, so it goes thru hotmail's servers before it load up the page, it is a dirty deal if you ask me. (like a AOL trick)

the <a href= has to be hidden from hotmal's servers to hotmail can not tweak the link...

DommiTL
02-21-2003, 04:32 PM
thoughts

http://validator.w3.org/check?uri=http%3A%2F%2Fcloud.prohosting.com%2Fredl lama%2F

you might want to try naming the id's on your dv and other objects. If you have an id that is the same as one in the hotmail source it might be causing a conflict.

-Dom

yinrunning
02-21-2003, 04:58 PM
Thanks for the suggestions, guys. I'm trying to figure out something I seem to remember about masking links, but I can't remember the tag or what it does exactly... grr.

My only other constructive thought so far was to make the link in my email sig an onClick and open a new window, but I'm not sure if that would affect anything or not. Plus, people without html browsers would see the tags, and that would be very mui annoying. Simple script redirects have absolutely no effect on top.location.href, or even window.location.href.

Kinda feel like I've started chasing the white whale here.

P.S. - Thaks for the validation... or would that be lack thereof? :D

yinrunning
02-21-2003, 05:00 PM
Oh, yeah, here's the Source of the actual Hotmail frames. It's got a "marginheight=1" in the M$uck frame tag, which is what I suspect is screwing the pooch, although I'm not really sure. I never use frames, so I don't know much about them.

DommiTL
02-21-2003, 08:50 PM
why not try validating the page.

might want to also check if hotmail declares the page to be valid to a cetain html spec. probably not but that may have some impact.