Log In · Register

 
 
Closed TopicStart new topic
Hiding search bar hides all forms on page
hontes
post Dec 25 2006, 11:17 AM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Dec 2006
Member No: 488,961



(Problem already solved)

Hi,

if i hide the google searchbar using

<style type="text/css">table tbody tr td form {display:none;}</style>

all other formulars on the whole page won't show, for example custom
made "add a comment"-Boxes like this one:

<form method="post" action="http://whatever"><input name="friendID" value="xxxxx" type="hidden" ><textarea name="f_comments" cols="30" rows="9"style="color: 2222EE; font-size: 12px; border: 2px solid 000000;" ></textarea><br /><input type="submit" value="Send" /></form>

So is there any possibility to display them? I already played around with various style="display:"-Settings but could not figure it out.

BTW, i know of the "other" script to hide the search bar, but then in IE the Option Box (displaying "Web") will always pop out.

thanks a lot
Tobi


EDIT: Well, solved it!!!!!! Use yet another code to hide search bar, everything will be perfect!!

<style type="text/css">

body div table td form option{display:none!important;}
body div table td form select{display:none!important;}
body div table td form input{display:none!important;}

</style>
 
*WHIMSICAL 0NE*
post Dec 25 2006, 11:23 AM
Post #2





Guest






Did you read through this?
http://www.createblog.com/scripts/download.php?id=454

What you should do is put this in your css:
CODE
<style type="text/css">
textarea.hippo,input.hippo{visibility:visible !important}
</style>


And then change the code of your comment box:
CODE
<form method="post" action="http://collect.myspace.com/index.cfm?fuseaction=user.confirmComment">
<input type="hidden" name="friendID" value="######" />
<textarea name="f_comments"rows="9" cols="30"class="hippo"style="text-align:center;line-height:inherit;"></textarea><br><input type="submit"class="hippo"style="color: 2222EE; font-size: 12px; border: 2px solid 000000;"value="Send" /></form>


I change the style and size to what you had it, just change ##### to your friend ID
 
hontes
post Dec 25 2006, 11:26 AM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Dec 2006
Member No: 488,961



well, thanks, but while you answered, i found out by myself... see above greetings! tobi
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: