Thread: Thickbox 3
View Single Post
  #3  
Old 07-04-2007, 11:43 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Thickbox 3

Upon further testing, it is also stripping out <ul> and <li> tags -- making html lists pretty U-G-L-Y.

While we're discussing Thickbox, can someone tell me why the 7Dana Thickbox code DOES NOT put the script into the header, rather, it embeds as-needed to the product page, calling, thickbox_include.tpl -- upon review of the include, I see the CSS is called by:

Code:
<style type="text/css" media="all">@import "{$SkinDir}/thickbox/files/thickbox.css";</style>

What does "@import" do here?

Is this a better way for the script to load than via the header (and thus available for all pages)?

If I want to use Thickbox throughout my site, am I better putting the script into the header code (home.tpl), then I can just call it from everywhere? Or is it better to call it as needed?

Thanks

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote