: Search bar location : mozart July 21, 2007, 02:29:41 PM Is it possible somehow to place the search function "inside" the suckerfish menu so that it is placed right-alined in the menu?
Alternatively I would like to place it at the upper right corner. Right now it's placed in "user 3" but I think it is left-aligned here. I would like it to fluctuate with the right side border. Hope you understand what I mean. You can see it on www.markedsfoeringsloven.dk. Peter : Re: Search bar location : mikek July 23, 2007, 09:33:04 PM Peter,
I am not sure if you are asking about the Bliss template or Your Store but if you need it for Bliss you can do this: Right below where these lines in your index.php file: <?php if ($suckerfish_glossy == "no") { ?> <div id="s5_topmenu"><?php echo "<div style='margin-left:-4px;' id='s5_navv-no'>"; mosShowHFMenu2($params); echo "\n</div>\n"; ?></div> <?php } ?> Insert: <form action="index.php" method="post"> <input class="inputboxsearch" style="float: right; padding-left: 3px; margin-top: 5px; background: #ffffff;" type="text" name="searchword" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" /> <input type="hidden" name="option" value="search" /></form> This will insert a search field to the right of the suckerfish menu in Bliss. I hope that is what you are looking for. Regards, : Re: Search bar location : heritage August 01, 2007, 08:52:50 PM can you please write directions how to do the same in Youstore template?
: Re: Search bar location : jonahh August 06, 2007, 02:18:28 PM Heritage,
Below is the code to add the search bar at the end of the suckerfish menu on the Your Store template: Right below where the "div class=right" line in your index.php file: <div id='navv'> <?php mosShowHFMenu2($params); ?> </div> </div> <div class="right"> Insert: <form action="index.php" method="post"> <input class="inputboxsearch" style="float: right; padding-left: 3px; margin-right: 13px;margin-top: 7px; background: #ffffff;" type="text" name="searchword" value="<?php echo _SEARCH_BOX; ?>" onblur="if(this.value=='') this.value='<?php echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<?php echo _SEARCH_BOX; ?>') this.value='';" /> <input type="hidden" name="option" value="search" /></form> Regards, |