Re: SOLVED: why this doesn't work as an external file but does internally?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Those of us that view emails as a list of conversations would
appreciate not changing subject lines.


On Wed, 6 Oct 2004 16:01:32 -0400, Aaron Wolski <aaronjw@xxxxxxxxxxxxx> wrote:
> Hi All,
> 
> Just wanted to thank everyone for their advice and help.
> 
> What I ended up doing is simply doing an include() of the JS code
> instead of externally linking to the file.
> 
> This works perfectly.
> 
> Thanks again everyone! I appreciate it.
> 
> Regards,
> 
> Aaron
> 
> > -----Original Message-----
> > From: Aaron Wolski [mailto:aaronjw@xxxxxxxxxxxxx]
> > Sent: October 5, 2004 4:51 PM
> > To: 'John Nichel'; 'PHP Mailing Lists'
> > Subject: RE:  why this doesn't work as an external file but does
> > internally?
> >
> >
> >
> > > -----Original Message-----
> > > From: John Nichel [mailto:john@xxxxxxxxxxxx]
> > > Sent: October 5, 2004 4:06 PM
> > > To: PHP Mailing Lists
> > > Subject: Re:  why this doesn't work as an external file but
> does
> > > internally?
> > >
> > > Please reply to the list, and not just an individual person.
> > >
> > > No.  I turn my radio on, but it doesn't work, what's the problem?
> See
> > > what I mean?  The question doesn't supply enough information to make
> > an
> > > educated guess as to what the problem may be.
> > >
> > > What error messages are produced?
> > > What does the remotely included file output?
> > > Does the second variable have value?
> > > Can you provide a link to where we can see the issue at play?
> > > So on, and so forth.
> > >
> > > Look at the source of your page that "doesn't work", where the JS is
> > > supposed to be, and chances are, you'll see the problem.
> >
> > Ok.. here are 3 links:
> >
> > https://celestica.tristarpromotions.com/NEW/index2.php
> >
> > This link... you'll see that the rollover effects on the top menu
> work.
> > The external JS file (called: jsstuffnew.php) has code that looks
> like:
> >
> > img1on = new Image();   img1on.src = "<?php echo $base_url;
> > ?>Graphics/home_on.gif";
> >
> > https://celestica.tristarpromotions.com/NEW/index.php
> >
> > This link... you'll see that the rollover effects on the top menu DO
> NOT
> > work. The external JS file (called: jsstuff.php) has code that looks
> > like:
> >
> > img1on = new Image();   img1on.src = "<?php echo $base_url;
> > ?>Graphics/<?php echo $img_home_on; ?>";
> >
> > As you can see, the difference between the two is the fact that the
> > image FILE NAME is hard coded into the file as opposed to calling.
> >
> >
> > https://celestica.tristarpromotions.com/NEW/index3.php
> >
> > This link... you'll see that the rollover effects work as well.
> Instead
> > of having an external file I have embedded the JS code directly into
> the
> > page.
> >
> > Additionally, I have use code that looks like:
> >
> > img1on = new Image();   img1on.src = "<?php echo $base_url;
> > ?>Graphics/<?php echo $img_home_on; ?>";
> >
> >
> > Having visuals... does that help communicate what the problem is?
> >
> > In terms of what errors I am seeing, etc... I cannot tell you that
> > because NO errors come up at all, even with the external pages.
> >
> > Thanks John. Hope I explained it a bit better this time around.
> >
> > Regards,
> >
> > Aaron
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux