+ Post New Thread
Results 1 to 3 of 3
Coding Thread, html/ javascript help in Coding and Web Development; Below is my code, it will run the first bit no problem, however it will only run the second bit ...
  1. #1

    Join Date
    Mar 2007
    Posts
    1,748
    Thank Post
    79
    Thanked 288 Times in 219 Posts
    Rep Power
    70

    html/ javascript help

    Below is my code, it will run the first bit no problem, however it will only run the second bit once the first has been run. The end bit requires parts 1 and 2 to have been run. I'd prefer that all buttons should just work!. Button 3 works every time.

    <table width="100%">
    <font size="3" color="black" width="100%" >Help Topics
    <td>
    <FORM NAME="Form3">
    <INPUT TYPE="image" NAME="Button3" VALUE="" SRC="stgs.jpg" VALUE=""style="width:50px">
    <script FOR="Button3" EVENT="onClick" LANGUAGE="VBScript" src="adminlogon.vbs"></SCRIPT>
    Restore printers and drives (admin)
    </FORM>

    <td>

    <FORM NAME="Form4">
    <INPUT TYPE="image" NAME="Button4" VALUE="" SRC="stgs1.jpg" style="width:50px">
    <script FOR="Button4" EVENT="onClick" LANGUAGE="VBScript" src="stafflogon.vbs"></SCRIPT>
    Restore printers and drives (staff)
    </FORM>

    <td>

    <FORM METHOD="LINK" ACTION="How do i log onto the helpdesk/helpdesk.pdf" >
    <INPUT TYPE="image" SRC="stgs2.jpg" VALUE="" style="width:50px">
    How do I use the helpdesk
    </FORM>

    <td>

    <FORM NAME="Form5">
    <INPUT TYPE="image" NAME="Button5" VALUE="" SRC="stgs3.jpg" style="width:50px">
    <script FOR="Button5" EVENT="onClick" LANGUAGE="VBScript" src="audit1.vbs"></SCRIPT>
    Audit
    </FORM>

    </table>

    edit// It seems that the 3 problem icons all show the same code when you hover over them, it changes after each click though
    Last edited by strawberry; 2nd July 2008 at 09:56 AM.

  2. #2
    Shane's Avatar
    Join Date
    Apr 2007
    Location
    Kernow
    Posts
    166
    Thank Post
    23
    Thanked 14 Times in 12 Posts
    Rep Power
    21
    Ah there are a few external files even, may be worth posting thoose?

  3. #3

    Join Date
    Mar 2007
    Posts
    1,748
    Thank Post
    79
    Thanked 288 Times in 219 Posts
    Rep Power
    70
    sorted..kind of... the images were playing up, once i made them huge i found they had certain regions that would work, so moved to buttons.

SHARE:
+ Post New Thread

Similar Threads

  1. HTML Help
    By Shrimpersfan in forum Windows
    Replies: 6
    Last Post: 25th April 2008, 01:56 PM
  2. HTML tag help
    By randle in forum Web Development
    Replies: 5
    Last Post: 21st April 2008, 03:03 PM
  3. Javascript - Change text
    By danIT in forum Scripts
    Replies: 6
    Last Post: 11th February 2008, 03:12 PM
  4. PHP or JavaScript password obfuscator
    By ajbritton in forum Web Development
    Replies: 2
    Last Post: 18th October 2006, 08:30 AM
  5. JavaScript. Yea or Nae?
    By Irazmus in forum General Chat
    Replies: 5
    Last Post: 30th June 2006, 09:35 PM

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
  •