www.webdeveloper.com
Results 1 to 7 of 7

Thread: Java Script

  1. #1
    Join Date
    Apr 2013
    Posts
    2

    Java Script

    Hi every one i m new at this forum and this one is my first post, i hope i will get my answer


    My question is that, i want to change the advertisement on my webpage on the basis of value in the list box, my list box contains names of city i want to display the advertisements of particular city on that page,please help me thanx in advance.

  2. #2
    Join Date
    Nov 2010
    Posts
    1,036
    nowhere near enough information.

    how are the ads rendered? by you or an external source? is there a finite amount? do you have access to their file paths?

    maybe a link to your page would be best

  3. #3
    Join Date
    Apr 2013
    Posts
    2
    thanx for reply,


    this ads are created by me, i have some banner ads, on each page i want to display 7-10 ads.

  4. #4
    Join Date
    Nov 2010
    Posts
    1,036
    you can make an object with the keys corresponding to the options in the select and the values being arrays holding the pathnames to your ads. Then all you need is a function that tells the code which displays your ads which array to use.

  5. #5
    Join Date
    Apr 2013
    Posts
    2
    You can create mysql table for your ads and by select rule you can view what you need to view

  6. #6
    Join Date
    Dec 2005
    Location
    FL
    Posts
    7,354
    Or you could provide some code or a link to some code so we could make a more informed suggestion.

  7. #7
    Join Date
    Apr 2013
    Posts
    2
    I offer in this site some useful php code
    http://bsw.benhascience.com
    all script are free

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