Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    need Help with linking correctly, etc. readplz

    Hi I'm using net.data and a database to bring information from a database onto websites. My problem is that I am making a site which links off to different pieces of data. Example: A new submission has values for title, news ID # , news story, etc. The way it works is upon clicking a link on the main page, a value(tempnewsid) is assigned the value of the news id# which then is used to generate a page. Its an effective method of doing this. But heres my problem. I can do it all in java.... the code looks something like this...

    <form method="post" action = "http://xxxxxx/Call_newsclicked">
    <input type="submit" value="$(V2)">
    <input type="hidden" name="user_type" value="$(user_type)">
    <input type="hidden" name="employeeid" value="$(employeeid)">
    <input type="hidden" name="tempjobid" value="$(V1)">
    <input type="hidden" name="newsTitle" value="$(V2)">


    This works well because with a form button I can do a lot. The problem is the form button is grey and ugly. I want it to be white. I also tried doing <a href with onclick, but I dont know how to assign tempjobid a value with onclick. This may be confusing, but I really need help with this :/ ty

  • #2
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    CSS perhaps?
    Code:
    <input type="submit" value="$(V2)" style="background-color:#ffffff;">
    You can do all sorts of stuff to this button using style. You can even create a CSS class if you've got lots of buttons all over the place:
    http://www.free2code.net/tutorials/w...css/19/css.php

    That may not be what you're looking for.. so if not, post back and explain further.

    Hope that helps,
    Sadiq.

  • #3
    New Coder
    Join Date
    May 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks, but..

    Thanks it worked, but....

    Now its just a white box and I can see the box outline ,any way to not have the outline? I want it to look like text, but do lots of things when i click on it which I am doing through the use of hidden forms.

  • #4
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Did you check out that link I posted? I'm pretty sure it tells you how to do that kind of stuff.. I'm not a CSS expert myself, so I couldn't tell you off hand.

    Good luck,
    Sadiq.

  • #5
    New Coder
    Join Date
    May 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    yea it doesnt say

    But still i appreciate your help, i guess now i have to search to see if there is such thing as a way to do away with form borders. :/

  • #6
    Senior Coder
    Join Date
    Feb 2004
    Posts
    1,206
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Try this:
    Code:
    <input type="submit" value="$(V2)" style="background-color:#ffffff; border-style:solid; border-color:#ffffff;">
    Found this here:
    http://www.experts-exchange.com/Web/..._20980529.html

    Hope that helps,
    Sadiq.

  • #7
    New Coder
    Join Date
    May 2004
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thanks it did the trick

    I appreciate it ^^


  •  

    Posting Permissions

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