www.webdeveloper.com
Results 1 to 2 of 2

Thread: Changing Text and Pictures using Javascript

  1. #1
    Join Date
    Oct 2006
    Posts
    2

    Changing Text and Pictures using Javascript

    Hello All,

    I have a page that is going to have links on the left sidebar, which is going to be products that the user can view. There is also a div in the middle of the page which has an image holder and a blank p tag.

    What I want to do is have the user click on a link on the sidebar and have the image 0001.jpg and text appear dynamically. I want the text to come from external text file 0001.txt. Can this be done having to load a new page?

    Thanks.

  2. #2
    Join Date
    May 2006
    Posts
    69
    I don't know if it's possible to get the text from an external file, but have a look at my other post
    http://www.webdeveloper.com/forum/sh...d.php?t=124082

    Which should certainly point you in the right direction.

    And, you don't need to reload the page to change the image display.

    Jason.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles