Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Apr 2009
    Location
    US Florida
    Posts
    25
    Thanks
    4
    Thanked 0 Times in 0 Posts

    opening two websites one page

    hello everyone,

    I'm building a website for my pastor. hiltonministries.org . He has a prison ministry. People drop stuff to his place and he sells them and uses income for his ministry.

    he has items at another website that donates .25c out of .99c to his mininstry

    I want to bring in four random items from his page (his yard) from floridalotsofyardsales.com and display them at the bottom of hiltonministries.org . Every time some one navigates his site these items change (coming from floridalots...).


    This way he can attrack pople to view the rest of his items and possibly bring in more income for his mininstry.

    How do I link to "florida lots of yardsales . com" and bring in the four random items?

    I've been researching for the past three days but to no avail.
    Last edited by agfre44_9873; 06-12-2009 at 05:15 PM.

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    JavaScript can not read other domains. You either need to ask the other site to offer up some script that will give you the data, you need to use an iframe, or you need to use a serverside langauge to scrape the data.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • Users who have thanked A1ien51 for this post:

    agfre44_9873 (07-22-2009)

  • #3
    New Coder
    Join Date
    Apr 2009
    Location
    US Florida
    Posts
    25
    Thanks
    4
    Thanked 0 Times in 0 Posts
    thanl you. I did it with iframes. take a look. hiltonministries.org


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •