Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing Javascript w) Cookies from another URL

Status
Not open for further replies.

JSDNUK

Programmer
Feb 13, 2006
21
GB
Hi all,

I recently developed a website and have been requested to build a template (using the same style/layout) for affiliated groups. Everything is just about in place here, however I am having some problems getting my dynamic css writer (which controls text size) to work on domains outside our main URL. I think this might have something to do with cookies and the script/css being hosted on a different server. Is there anyway around this, as I would prefer for the affiliated groups to use the scripts hosted on our main server (for easier updates, etc).

The main website url is:

The test website url for affiliated groups is:
I've tried a number of ideas without success, including taking the style for table (which is what the dynamic css writer edits) and placing it within the head of the affiliate site template. Does anyonse else have any ideas?

The Javascripts are hosted at enfield.gov.uk as follows...

(text)
(theme chooser)

N.B. The theme chooser works fine on the affiliate template and uses cookies. This is why I assume it must be possible for the text style selector to do the same.

Many thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top