the code behind the buttons

Sharky Forums


Results 1 to 13 of 13

Thread: the code behind the buttons

  1. #1
    Expensive Sushi
    Join Date
    Jul 2001
    Location
    Ireland
    Posts
    7

    Post the code behind the buttons

    Heh guys/gurus!

    How do i view the code behind these buttons.

    and how do i edit it?
    thanks.

    ------------------
    Ashley Lyn Cafagna

    EON Help (i hope)

  2. #2
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Where are those buttons coming from? A program? A website?

  3. #3
    Expensive Sushi
    Join Date
    Jul 2001
    Location
    Ireland
    Posts
    7

    Post

    They are from this site, when you wanna post a reply.


    ------------------
    Ashley Lyn Cafagna

    EON Help (i hope)

  4. #4
    Tiger Shark
    Join Date
    Mar 2001
    Location
    Next door.
    Posts
    546

    Post

    do you want to view the html/whatever source behind these buttons on the page? or the code behind the actual button image? to edit the image...open photoshop...to edit the code for the page that the buttons were

    <form name="blah">
    <input type="submit" value="Submit Reply">
    <input type="reset" value="Clear Fields">
    </form>

    something to that extent...did not actually look at the source

    ------------------
    "There are two steps to success: 1. Never tell everything you know 2. See #1"
    BLAH

  5. #5
    Ex-*** kid A's Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    5,322

    Red face

    Whaddyaknow!

    I thought they were graphical buttons, LOL. I guess you must be using another browser or XP or something?

    ------------------
    Now listening to:
    Sex Pistols - Never Mind the Bollocks...
    Now listening to various rock and metal
    143rd member to join Sharkyforums.

  6. #6
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    You can use images for buttons too ya know


  7. #7
    Expensive Sushi
    Join Date
    Jul 2001
    Location
    Ireland
    Posts
    7

    Post

    well guys i have grown a little more intelligent since i asked.
    i wanted to create a form mail on my webpage and i learned the the button just "calls" on a cgi/php/perl script in the cgi-bin <action= "/cgi-bin/formail.pl" and thats how it works.
    i thoguht that code was their behind the button but in most cases it is hidden in the cgi bin.
    a good day at school for me.

    ------------------
    Ashley Lyn Cafagna

    EON Help (i hope)

  8. #8
    Mako Shark dighn's Avatar
    Join Date
    Nov 2000
    Location
    Vancouver, BC Canada
    Posts
    3,171

    Post

    Originally posted by chern0byl:
    Heh guys/gurus!

    How do i view the code behind these buttons.

    and how do i edit it?
    thanks.

    is that from sharkyforums? running xp eh?
    you can't view the code behind them. they are server side scripts and you can't read them. if u could that would be a security hole


    ------------------
    Keep it brief
    .

  9. #9
    Ex-*** kid A's Avatar
    Join Date
    Sep 2000
    Location
    Norway
    Posts
    5,322

    Post

    Originally posted by Grizzly:
    You can use images for buttons too ya know

    I know, and I always do


    ------------------
    Now listening to:
    Sex Pistols - Never Mind the Bollocks...
    Now listening to various rock and metal
    143rd member to join Sharkyforums.

  10. #10
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Originally posted by dighn:
    is that from sharkyforums? running xp eh?
    you can't view the code behind them. they are server side scripts and you can't read them. if u could that would be a security hole
    Not really. All buttons are is HTML. You can always View Source on it if you're curious.


  11. #11
    Mako Shark dighn's Avatar
    Join Date
    Nov 2000
    Location
    Vancouver, BC Canada
    Posts
    3,171

    Post

    Originally posted by Grizzly:
    Not really. All buttons are is HTML. You can always View Source on it if you're curious.

    i meant the cgi scripts that forms are posted to etc

    ------------------
    Keep it brief
    .

  12. #12
    Ursus Arctos Moderatis Grizzly's Avatar
    Join Date
    Sep 2000
    Location
    Providence, RI USA
    Posts
    3,077

    Post

    Originally posted by dighn:
    i meant the cgi scripts that forms are posted to etc

    Ah! The ambiguous statement "The code behind these buttons" can lead people in alot of different ways I guess. To me, I take it very litteraly...as in...the code which is required to display those buttons. But I can see what you meant.


  13. #13
    Mako Shark dighn's Avatar
    Join Date
    Nov 2000
    Location
    Vancouver, BC Canada
    Posts
    3,171

    Post

    Originally posted by Grizzly:
    Ah! The ambiguous statement "The code behind these buttons" can lead people in alot of different ways I guess. To me, I take it very litteraly...as in...the code which is required to display those buttons. But I can see what you meant.

    yeah i was being way too unclear

    ------------------
    Keep it brief
    .

Posting Permissions

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