
Originally Posted by
DivaVocals
I don't get an error for either one.. they both work for me.. I'm using the "Immediate Action" code for the menu I'm trying to build and it's working just fine with my test links..
I thought it was a conflict with other JS I had installed but nope - still doesn't work. So this is what I have for I just simplified my code to give you an idea how to do the ez-pages.
Code:
<?php echo zen_draw_form('Jump', '', ''); ?>
<select onchange="if (this.value) window.location.href=this.value">
<option>Where to go?</option>
<option value="http://google.com/">google.com</option>
<option value="http://yahoo.com/">yahoo.com</option>
</select>
</form>

Originally Posted by
DivaVocals
Now I just need to figure out how to get the EZ-Pages header links to display inside a jump menu..
[/QUOTE]
Now with my code this will work for the EZ-Pages header links, you will have to change accordingly for your code.
in /includes/templates/YOUR_TEMPLATE/templates/tpl_ezpages_bar_header.php
find:
Code:
<?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?>
<a href="<?php echo $var_linksList[$i]['link']; ?>"><?php echo $var_linksList[$i]['name']; ?></a><?php echo ($i < $n ? EZPAGES_SEPARATOR_HEADER : '') . "\n"; ?>
<?php } // end FOR loop ?>
replace with:
Code:
<?php echo zen_draw_form('Jump', '', ''); ?>
<select onchange="if (this.value) window.location.href=this.value">
<option>EZ-Pages</option>
<?php for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { ?>
<option value="<?php echo $var_linksList[$i]['link'];?>"><?php echo $var_linksList[$i]['name'];?></option>
<?php } ?><?php } // end FOR loop ?>
</select>
</form>
Hope this helps!