Javascript -> text include <- help

This is a discussion on "Javascript -> text include <- help" within the JavaScript Forum section. This forum, and the thread "Javascript -> text include <- help are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Oct 28th, 2007, 20:08
Up'n'Coming Member
Join Date: Oct 2007
Location: room
Age: 18
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Post Javascript -> text include <- help

Hi.

From a previous post about widgets, i have found that this would be my solution.

Could someone give me an example script that can pull text from a different page on my site / different website.

Would be help me alot!

Thank you!
Reply With Quote

  #2 (permalink)  
Old Oct 29th, 2007, 13:12
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript -> text include <- help

Do you need to do this when the page loads or after the page has loaded?

If it is the former then you are better off using something on the server side, if it is the latter then Ajax is only permitted to access the same domain as the current page.

If you need access to another website you will probably have to use a hidden iframe or something else.

Specifically, what do you want it to do?

Cheers,
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Reply With Quote
  #3 (permalink)  
Old Oct 29th, 2007, 18:27
Up'n'Coming Member
Join Date: Oct 2007
Location: room
Age: 18
Posts: 74
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript -> text include <- help

Hi again =D

Well, some website i want to pull info of do not have widgets =[ and the rss feeds suck.
My research from including and optimizing information from other websites and other pages in my domain real-time, has lead to professional coders selling scripts at huge prices which include thousands of features i do not need.

So ye, and iframe sounds good =D I can do them =D (1 of few things i can)
But it would be impossible to edit the text style to suit my site...?
Reply With Quote
  #4 (permalink)  
Old Oct 30th, 2007, 22:06
Junior Member
Join Date: Oct 2007
Location: Sweden
Age: 29
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript -> text include <- help

Quote:
Originally Posted by jahphill View Post
Hi again =D

Well, some website i want to pull info of do not have widgets =[ and the rss feeds suck.
My research from including and optimizing information from other websites and other pages in my domain real-time, has lead to professional coders selling scripts at huge prices which include thousands of features i do not need.

So ye, and iframe sounds good =D I can do them =D (1 of few things i can)
But it would be impossible to edit the text style to suit my site...?
with iFrame is impossible, you should really use Ajax --->> take a look at this http://www.jibbering.com/2002/4/httprequest.html <- simple explanation on how to use XML HTTP Request
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Appending Text Javascript Utite JavaScript Forum 1 Apr 28th, 2008 12:14
[SOLVED] why isnt my javascript displaying the text skat JavaScript Forum 3 Jan 26th, 2008 20:43
BBC Text Editor With Javascript AdRock JavaScript Forum 2 Oct 17th, 2007 15:10
asp:Label text in javascript QuikFrozen ASP.NET Forum 1 Aug 17th, 2006 13:11


All times are GMT. The time now is 04:52.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43