Jump to content

remote <div>


whare

Recommended Posts

Hi I have been looking into ways to dispay information on remote site not owned by myself and I understand it can be done something like

 

<head>

<title>My Website</title>

<script LANGUAGE="JAVASCRIPT" type="text/javascript" src="http://www.somesite.com/somefile.js?id=TAGNAME"></script>
</head>
<body onLoad="somename()">

 

the main linking file

 

<DIV ID="Tag1"></DIV>  	 
<DIV ID="Tag2"></DIV> 	 
<DIV ID="Tag3"></DIV> 	 
<DIV ID="Tag4"></DIV>

 

each tag can dispay something differant all comming from one file

 

So how is this done now I guess it would to much for somebody to write here so any information from tutorials or hints and tips etc I would be greatful I did do a google but I could not seem to fine what I was looking for unless i was searching for the wrong tags

 

 

thanx

Will

Link to comment
Share on other sites

try searching for "cross domain javascript" or "creating cross domain apps"; search for something along these lines. there are a few ways you can do this; such as "document.write()" method, iframes, SSI, creating a proxy and using normal JS or DOM and others, I'm sure. do a little research about "cross domaining" and maybe you will be able to come up with what will work best for you.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.