Jump to content

neewbie help


conradphp

Recommended Posts

Here is your code:

var formatNav = function() {
//replacing nav code sale link for mall
$('.sf-menu li a').last().html('Visit the mall');
$('.sf-menu li a').last().attr('href', 'http://mall.myflashtrash.com/');
$('.sf-menu li a').last().attr('target', '_blank');

This looks like jQuery code (JavaScript).

 

Your question isn't very clear. Do you want to use JavaScript to create a simple link?

Link to comment
https://forums.phpfreaks.com/topic/291428-neewbie-help/#findComment-1492680
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.