javascript image control does not work in ASP.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yimma216
    New Member
    • Jul 2008
    • 44

    javascript image control does not work in ASP.NET

    I am converting a html pages into aspx. There are images flashing along the top of the webpage using javascript control. But it does not work after i put into the master page.

    In the VB Developer Express, there are also green underline for class name (i.e. class="back")

    Can any one suggest a solution please?

    Code:
    <div id="images">
    <div class="image">
    	<img id="image_1_front" class="front" src="img/empty.gif"  />
    	<img id="image_1_back" class="back" src="img/empty.gif" />
    </div>
    <div class="image">
    	<img id="image_2_front" class="front" src="img/empty.gif" />
            <img id="image_2_back" class="back" src="img/empty.gif" />
    </d
    <div id="image_list">
    	<img src="img/title/1.jpg"  />
    	<img src="img/title/3.jpg"  />
    	<img src="img/title/6.jpg"  />
    	<img src="img/title/7.jpg"  />
    </div>
    </div>
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    Where's the JavaScript that is responsible for showing the images?

    Comment

    • yimma216
      New Member
      • Jul 2008
      • 44

      #3
      attached the JS

      I have attched the javescript control for the images.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        In the code you posted there is no JavaScript.
        There is no link to any external JavaScript either.

        If you want help fixing a problem with the JavaScript you're going to have to post the JavaScript function that you are having problems with...

        -Frinny

        Comment

        • yimma216
          New Member
          • Jul 2008
          • 44

          #5
          Hi Finny,

          sorry I forget to attach the file.

          I have divided the code into the master page and default page and did not remember to adjust the codes in the <body> tag.

          Thank you for reminding me as well.

          Comment

          • Frinavale
            Recognized Expert Expert
            • Oct 2006
            • 9749

            #6
            Did you fix the problem then?

            Comment

            Working...