got simple litttle problem and i am totally green when it comes to java. script at this link
http://www.javascriptkit.com/script/script2/simpleimagetrail.shtml
is what i need to modify. probably simple for people in this forum.
the popup image flips from the right of cursor to the left depending on the location of cursor. i would love it if it only showed on the right of the cursor and never flipped to the left. thanx in advance.

oops that script was modified to the version that i have now. this is what i have now

<form name="category" action="admin.php" method="post">
<input type="hidden" name="id" value="{$ID}" />
<input type="hidden" name="pId" value="{$CATEGORY_ACTION_PAGE}" />
<input type="hidden" name="start" value="{$START}" />
<input type="hidden" name="category" value="{$CATEGORY}" />
<input type="hidden" name="module" value="media_manager" />
<table border="0" cellspacing="1" align="center" width="70%">
<tr >
<td colspan="2" align="center" class="header_table_style">CATEGORY DETAILS</td>
</tr>
<tr class="cell_color">
<td colspan="2" align="left" height="40">
Your current working directory: <strong>{$CATEGORY}</strong></td>
</tr>
<tr class="cell_color">
<td width="20%" align="left">System Name</td>
<td align="left">
<input type="text" name="sys_name" value="{$SYS_NAME}" class="text_input_style" {$BLUR} /><br />
{$_MD_INVALID_CAT_CHARACTERS}       </td>
</tr>
<tr class="cell_color">
<td width="20%" align="left">Display Name</td>
<td align="left"><input type="text" name="dis_name" value="{$DIS_NAME}" class="text_input_style" /></td>
</tr>
<tr class="cell_color">
<td width="20%" align="left" valign="top">Description</td>
<td align="left"><textarea name="description" cols="55" rows="4" class="textarea_input_style" >{$DESCRIPTION}</textarea></td>
</tr>
{if $TEMPLATE_COUNT > 0 }
<tr class="cell_color">
<td width="20%" align="left">Template Name</td>
<td align="left">
<select name="template" class="select_input_style">
<option value="">---Select Template---</option>
{foreach name = name key = key item = item from=$TEMPLATE_ARRAY}
{if $item eq $SELECTED_TEMPLAGE }
<option value="{$item}" selected>{$item}</option>
{else}
<option value="{$item}">{$item}</option>
{/if}
{/foreach}
</select>        </td>
</tr>
{/if}
<tr class="cell_color">
<td align="left">Icon</td>
<td align="left">
<select name="icon" onchange="show_icon(this)" class="select">


{if $IS_PRO || $IS_ENT}
{if $SELECTED_ICON eq 'random' }
<option value="random" selected="selected"> --- Use Random Image --- </option>
{else}
<option value="random"> --- Use Random Image --- </option>
{/if}
{/if}
<option value=""> --- Do Not Use Icon --- </option>
{foreach name=name key=key item=item from=$ICON_ARRAY}
{if $item neq './icon/index.html'}
{if $item eq $SELECTED_ICON}
<option value="{$item}" selected="selected">{$item}</option>
{else}
<option value="{$item}">{$item}</option>
{/if}
{/if}
{/foreach}
</select>
&nbsp;&nbsp;&nbsp;<img src="./icon/Thumbs.db" name="showIcon" alt="" />      </td>
</tr>


<tr class="cell_color">
<td width="20%">&nbsp;</td>
<td height="30" align="left">
<input type="reset" name="reset" value="RESET" class="button_input_style" />
<input type="submit" name="submit" value="SUBMIT" class="button_input_style" />      </td>
</tr>
<tr class="title_color">
<td colspan="2">&nbsp;</td>
</tr>
</table>
</form>

Edited 3 Years Ago by happygeek: fixed formatting

This may be a browser function, instead of a function of your code. The browser changes the location of a window or image if it can't display it in the specified position.

Also, it may be an ownership problem. Parts of that page contain links and ads. It may be that another script is overriding yours.

This article has been dead for over six months. Start a new discussion instead.