[PHP] how to make IE show client side JavaScript output?

2001-11-02 Thread Moloko

interesting one here for y'all

 if you use client side JavaScript to write HTML to the browser, eg
script language=JavaScript
document.write ('bHello world!/b');
/script
then look at the page source from IE, the page source will show you exactly
what I've typed above, whereas if you view the page source from Netscape
4.7, it shows this in the source:
bHello world!/b
(this is the way I ewould expect and want it work)

Unfortunately the (rather complex) script I'm writing does completely
different stuff in Netscrape so looking at the page source thru there to see
what's going on is hopeless - is there any way to make IE behave like NS in
this respect and actually show the correct JavaScript output, rather than
the JavaScript code itself??

Cannot believe that NS4.7 is actually better at doing something than IE!!!

--
Moloko
'When the going gets weird, the weird turn pro' - Dr Gonzo
GCM/CS/IT/MC d-- S++:- a-- C++ U--- P+ L !E W+++$ N+ K+ w+++$ M+ PS+++ PE-
PGP- t+ 5- X-- R* tv++ b+++ DI D G e h-- r++ y++



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: downloading images

2001-10-30 Thread Moloko

 Save the full size images as a file format that will not open automatically
in the browser, such as TIF or BMP, then the image will automatically start
downloading. Though I would't really worry about it, in my experience, most
users seem fairly comfortable with the the old 'save picture as' command.


--
Moloko
'When the going gets weird, the weird turn pro' - Dr Gonzo
GCM/CS/IT/MC d-- S++:- a-- C++ U--- P+ L !E W+++$ N+ K+ w+++$ M+ PS+++ PE-
PGP- t+ 5- X-- R* tv++ b+++ DI D G e h-- r++ y++


Heidi Belal [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]...
 Hey,
 I'd like users to be able to download images from on
 my site.  The images are pretty big, so i've made
 thumbnails for each.  I can display each thumbnail,
 but how can i get it so that once the user clicks on
 the thumbnail, they get to download the whole image.
 I'd like it to work without having the user to right




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP changing my JavaScript??

2001-10-29 Thread Moloko

Hi All,
got a strange problem with a PHP include file that contains all my
JavaScript functions. This file is included on every page in my site and
contains some image swap behavious amongst other things. The first time I go
into the site, however, I get all sorts of JavaScript errors which I have
traced to the fact that lots of quotes are being dumped into the JavaScript
for some reason, screwing up the syntax. As soon as I hit refresh, the
quotes disappear and the page loads fine anyone got any ideas as to why
this is happening??

example of screwed up script:
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
ia.length; i++)

this is how it should look:
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; ia.length;
i++)


any ideas at all much appreciated!


--
Moloko
'When the going gets weird, the weird turn pro' - Dr Gonzo
GCM/CS/IT/MC d-- S++:- a-- C++ U--- P+ L !E W+++$ N+ K+ w+++$ M+ PS+++ PE-
PGP- t+ 5- X-- R* tv++ b+++ DI D G e h-- r++ y++



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: PHP changing my JavaScript??

2001-10-29 Thread Moloko

sounds like that's the problem - I am using session_start() as well so will
give your idea a try!

many thanks

Moloko

_lallous [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 it happened to me when i enter the page for the very first time and I use
 session_start()



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]