Jump to content

Link to AFK


lmstearn

Recommended Posts

Looking for a code snippet on a searchbox to AFK advanced search. Something like this in a table cell?

On the top:

<td bgcolor=#ffffff>
<img style="height:92px;width:240px;" src="http://www.www.afkmods.com/uploads/gallery/album_77/sml_gallery_2044_77_79768.png" alt="Mod site for Bethesda games." >
And the searcn box under:

<div class="wrapper row0">
<header id="topbar" class="clear">
	<form id ="search-box" action="http://www.afkmods.com/index.php?app=core&module=search&do=search&fromMainBar=1" method="post">
	<fieldset>
		<legend>Search:</legend>
		<input type="text" value="Search Our Website…" onFocus="this.value=(this.value=='Search Our Website…')? '' : this.value ;">
		<input type="image" style="height:35px;width:35px;" id="search" src="http://www.ozemail.com.au/~lmstearn/files/AssimilationSearch.gif" alt="Search">
	</fieldset>
	</form>
</header>
</div>
Just brings up the main page. This kind of thing used to work with the old CGI and ASP forms, don't know about PHP.
Link to comment
Share on other sites

Ding dong. The link should be

<form id="search-box" action="http://www.afkmods.com/index.php?app=core&module=search&do=search&fromMainBar=1" method="post">
Link to comment
Share on other sites

Goodness knows. Trying to get a code snippet for my homepage to link to search here. Kind of works, but it wants embellishment muchly.

The code above is now (and will be) updated. The problem is I can't get the gallery image to show up on the page (well it did once or twice in about a hundred loads). The link for it shows nicely in the browser, so there's something under the hood yet to be twiddled.

May I copy the image to my own homepage space for testing please?

Edit: Gotit, :) the CSS snippet had to be inserted:

style="height:92px;width:240px;"
Link to comment
Share on other sites

Ok, that's kind of an odd thing to want, but it's fine I suppose. :P

 

It would probably be better to use a local copy of the image so that it's not hotlinking the image back to us.

Link to comment
Share on other sites

Thanks, it's fixed- well kind of- the logo still doesn't want to display by the search box some of the time.

Something to do with the HTML (in IE?), past worrying about it now. :P

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...