![]() forward browser script - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: forward browser script (/showthread.php?tid=59326) forward browser script by DJKAL on 05-12-2006 at 10:37 PM
i am starting a website for my cousin tonight and i have a logo wich i want to have transparency - no problem. though in IE it doesnt view properly - problem solved, i matched the gradient and it is ok. though in firefox it isnt RE: forward browser script by rav0 on 05-12-2006 at 11:39 PM
I'd use a ready-made server side script to detect Internet Explorer (find one), then serve the same page, with just the different logo served for Internet Explorer. RE: forward browser script by DJKAL on 05-12-2006 at 11:44 PM
thanks, i was thinkin of using JavaScriptbut not sure of the code. RE: forward browser script by Plik on 05-13-2006 at 12:28 AM
IIRC, IE renders the colours of a png slightly differently to everything else (god knows why, perhaps something todo with ignore alpha channel data). RE: forward browser script by rav0 on 05-13-2006 at 12:52 AM
Ummm ... what was wrong with just using text? Does it really need to be in a image? RE: forward browser script by ShawnZ on 05-13-2006 at 03:51 AM make sure you choose "save gamma" when saving the png RE: forward browser script by DJKAL on 05-13-2006 at 05:48 AM
quote: if you would i would be real greatfull and my cousin will be too. quote: it was not my choice - my cousin wanted it like that, that's just for the first page where you click "enter" to get into the site so in the site i will use text and not all the images, but none of this is my choice - all hers. RE: forward browser script by segosa on 05-13-2006 at 06:04 AM Tell her that when people visit webpages they actually expect to see a website, not an entry page causing them to have to click somewhere again before they can even get to where they were going. RE: forward browser script by DJKAL on 05-13-2006 at 06:07 AM
i know this, and did mention it to her but a lot of other sites have it and sh is just etting it to a style she likes and that will attract the other women (to her website not to her ...) RE: forward browser script by Chestah on 05-13-2006 at 06:57 AM
quote: Sadly not everyone thinks that way seg. Personally my favourite is when you click a link and then you get redirected to an advertisement page before the actual page you want to see ![]() RE: forward browser script by rav0 on 05-13-2006 at 07:32 AM This goes anywhere at the top of the page, just once, as long as it's before you use the next bit: code:This bit goes any place that you want different code for Internet Explorer, as many times as you like: code:I still think that you should the original, transparent image all the time, and use the JavaScript fix to have it work properly in Internet Explorer (even Microsoft does it this way). RE: forward browser script by DJKAL on 05-13-2006 at 07:34 AM
quote: what fix is this? also: i have now saved the images as .gif and used them and the transparency shows fine. RE: RE: forward browser script by rav0 on 05-13-2006 at 07:57 AM
quote: RE: forward browser script by absorbation on 05-13-2006 at 10:29 AM
rav0 code should work, but if it is only an image, here is a simpler way to do it: code: Just put that where you want the image to show. Change the image links of course, but leave the backshlashes (\\\\\) as it is important for the syantax. ![]() RE: forward browser script by DJKAL on 05-13-2006 at 10:40 AM
if i need to use PNG (as i am now using .gif instead) i will try the JAVA script - if it doesn't work then i will use the PHP method RE: forward browser script by absorbation on 05-13-2006 at 10:41 AM
quote: I suggest PHP, some browsers dont allow javascript. ![]() PHP is to do with your server and works the same on every browser ![]() RE: forward browser script by DJKAL on 05-13-2006 at 10:43 AM ok thanks. can i stil the save the page as .htm? RE: forward browser script by absorbation on 05-13-2006 at 10:45 AM
quote: nope, has to be php. ![]() But you may as well use it as an extension because php can make coding new pages so much easier. ![]() RE: forward browser script by DJKAL on 05-13-2006 at 10:47 AM
ok. RE: forward browser script by absorbation on 05-13-2006 at 10:48 AM
quote: You soon will learn. ![]() quote: yep, instead of index.htm. RE: forward browser script by DJKAL on 05-13-2006 at 10:52 AM
quote:hope so ![]() ![]() thanks for al your help RE: RE: forward browser script by rav0 on 05-13-2006 at 12:53 PM
quote:FYI, PNGs work fine in Internet Explorer, but alpha channel doesn't, so if you'r going to have it as a GIF (which can't have alphe channel), you can save a PNG without alpha channel, have it work perfectly, have gamma correction, and have a smaller filesize. quote:JavaScript not JAVA script ![]() RE: forward browser script by DJKAL on 05-13-2006 at 01:02 PM
i cant find those settings when looking. |