FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » including CSS & JS on only pages that need that CSS & JS
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: including CSS & JS on only pages that need that CSS & JS [message #175617 is a reply to message #175615] Tue, 11 October 2011 17:14 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 10/11/2011 9:29 AM, Beauregard T. Shagnasty wrote:
> Jerry Stuckle wrote:
>
>>> if (some_condition) echo "<link href='{$cssfileurlx}' rel='stylesheet'
>>> type='text/css'>\n";
>>>
>>> // or:
>>>
>>> if (some_condition) echo "<link href='{$cssfileurlx}' rel='stylesheet'
>>> type='text/css' />\n";
>>>
>>>
>> I fail to see the difference between the two.
>
> The second one has a trailing "/" for XHTML ...
>

Ah, missed that, Beauregard. Thanks.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: .htaccess vs PHP header(location:)
Next Topic: How to redirect user based on user country?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 15:09:34 GMT 2024

Total time taken to generate the page: 0.07283 seconds