Topic: HTML/PHP Domain Search Bar Question (Read 4641 times)
Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« on: Apr 29, 2006, 01:15:37 am »
Hello, My friend sent me a PHP code that he wants to use for a domain availiablility search. The code he provide was very hard for me to understand. I was wondering if you guys/girls knew where there is a tutorial or pre-made script that would allow a scirpt like the html one i proived below. Thanks.
Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« Reply #3 on: Apr 30, 2006, 04:44:35 am »
Thanks olaf that script is working. However I do have a question about. When you cick the search button it pops the other line up. What I am trying to do is make two line breaks before the code, but only when the code pops up.
Heres the piece of the php code I am working with.
(isset($_POST['domain'])) ? $_POST['domain'] : ""; ?>"> <?php echo $my_whois->create_tld_select(); // this method generates the select menu woth all tld's
Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« Reply #5 on: Apr 30, 2006, 09:59:35 am »
Aight that worked.
However, I stumbled across another issue. If you look on this page ( http://silent.2dollarhost.net/domain.php ) the two select menus are different. I can't seem to figure out how to add my css class to the first one. The css class I am using for the second one is class="drop"
Thanks.
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #6 on: Apr 30, 2006, 10:03:40 am »
Hi,
you forced the select to use a pseudo class that is defined to be used with a input element:
Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« Reply #7 on: Apr 30, 2006, 07:51:55 pm »
Yes, I know I did that. I want the first one to look like the second one. I can't get the first one to do that becuase it is created by the php coding. So how would i attach the css code to the select menu that is created in php?
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
Yes, I know I did that. I want the first one to look like the second one. I can't get the first one to do that becuase it is created by the php coding. So how would i attach the css code to the select menu that is created in php?
just create an other pseudo class or give an element an ID
Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« Reply #9 on: May 01, 2006, 12:58:51 am »
I have no idea how to do that becuase it does not show a <select> anywhere.
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #10 on: May 01, 2006, 07:56:13 am »
try this:
inside your css
Code:
#tldSelect select { background-color:yellow; }
wrap arround the php function a span element like this:
Because an input is different in diff. browsers you should use a backgr. image that repeats in the x direction ( check the form in firefox to see what I mean)
Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« Reply #16 on: May 03, 2006, 12:13:27 am »
Well... You made me find another problem with that page lol. I noticed that the page does not work in Internet Explorer. Any ideas why it is a blank page in IE?
Thanks
Global Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #17 on: May 03, 2006, 08:16:59 am »
hmmm I'm think its about the absolute postioned layers, these are often the reason of trouble.