Code help please

Discussion in 'JavaScript' started by ging999, Mar 10, 2009.

  1. #1
    On my site is a javascript slider. If you click on advanced options a gray box opens with the options.

    My want is to just have the options showing all the time in a straight foward div is this easy to change??

    The site is http://ziprl.com

    Thanks
     
    ging999, Mar 10, 2009 IP
  2. ging999

    ging999 Well-Known Member

    Messages:
    146
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    103
    #2
    advancedTrigger opens the box <div id="advancedOpt"> is the box I need to show all the time



    <div id="advancedTrigger"><a class="red" style="text-decoration:none" href="javascript: void(0);" onClick="javascript: $('#advancedOpt').slideToggle();"><img src="{$BASE_URI}templates/{$THIS_TEMPLATE}/icons/advanced.png" title="{$INTERFACE_advanced}" alt="{$INTERFACE_advanced}" border="0" align="absmiddle" /> {$INTERFACE_advanced}</a></div>

    {if $SHARE_INTERFACE}
    <div id="shareTrigger"><a class="red" style="text-decoration:none" href="javascript: void(0);" onClick="javascript: $('#shareOpt').slideToggle();"><img src="{$BASE_URI}templates/{$THIS_TEMPLATE}/icons/share.png" title="{$INTERFACE_careShare}" alt="{$INTERFACE_careShare}" border="0" align="absmiddle" /> {$INTERFACE_careShare}</a></div>

    <div id="shareOpt">
    {$INTERFACE_shareTitle}<br />
    <input type="text" class="shortInput" name="title" value="{$smarty.post.title}" />
    <br />
    {$INTERFACE_shareDescription}<br />
    <textarea class="shortInput" name="description" cols="50" rows="4" noscroll>{$smarty.post.description}</textarea><br />
    <br />
    </div>
    {/if}

    <div id="advancedOpt">
    {$INTERFACE_tags}<br />
    http://{$smarty.server.HTTP_HOST}{$BASE_URI}{$MAIN_PREFIX}<input type="text" name="tag" id="shortTag" value="{$smarty.post.tag}" />{$MAIN_SUFFIX}
    <br />
    <br />
    {$INTERFACE_expires}<img src="{$BASE_URI}env/pix/jscalendar.gif" id="trigger_till" hspace="10" style="cursor: pointer; border: 0px;" title="{$INTERFACE_dateSelector}" />
    (<a href="javascript: void(0);" onClick="document.getElementById('validTill').value = ''">{$INTERFACE_clearDate}</a>):<br />
    <input type="text" class="shortInput" name="validTill" id="validTill" readOnly value="{$smarty.post.validTill}" />
    <br />
    {$INTERFACE_protected}<br />
    <input type="password" class="shortInput" name="pass" value="{$smarty.post.pass}" />
    <br />
    <!-- {$INTERFACE_bulk}<br />
    <textarea class="shortInput" name="bulk" cols="50" rows="5">{$smarty.post.bulk}</textarea><br />
    <br /> -->
    {if $ADMIN_IN}
    {$INTERFACE_fromFile}<br />
    <input type="file" name="linkfile" style="width: 100%;"><br /><br />{/if}
    <!-- <input type="submit" id="bulkSubmi" name="bulkSubmit" value="{$INTERFACE_bulkButton}"> -->
    </div>

    </form>
     
    ging999, Mar 10, 2009 IP