Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Lightbox linked from source
Old 02-23-2010, 07:25 PM Lightbox linked from source
l3lueMage's Avatar
Skilled Talker

Posts: 73
Location: San Jose, California
Trades: 0
Hello,
I was wondering is there anyway to make it so when you run lightbox you a website, where the script is actually on another server to not require the CSS file on the local server.

For example lets say the script for lightbox is on google.com
And yahoo.com is embedding the "src.js" etc on their website to run the script off of google.com server.

but in order for it to work correctly yahoo.com still has to put in the header of their template the link to the CSS file, is there anyway to avoid this, or link to CSS file inside a body of the page, or inside the link that is referring to the script?

I tried <a href="http://example.com/image.jpg" rel="lightbox" class="http://www.google.com/lightbox.css">Image</a>

But this does not work either, I don't want it to be a two step process for someone to embedd my script that requires lightbox to run. If I can somehow get it so they don't need to put link to my CSS file on the header of the page or someway arouynd this that would be great..
Thanks
l3lueMage is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Lightbox linked from source
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07770 seconds with 12 queries