Results 1 to 2 of 2

Thread: Need help editing the code

  1. #1
    Join Date
    Mar 2012

    Need help editing the code

    The theme uses boxes, one of them is for price plans. The link to purchase the price plan is a button. The code that creates the button is:

    PHP Code:
    '' != $button_text do_shortcode"[et_lb_button size='medium' align='center' url='" esc_url$button_url ) . "' color='{$button_color}']{$button_text}[/et_lb_button]" ) : '' ) . 
    This code outputs a linked button with the link looking like this:

    PHP Code:
    <a href=""
    I need you to edit the code so that it outputs a linked button with the link looking like this:

    PHP Code:
    <a href="" onclick="_gaq.push(['_link', '']);return false;"
    I am using google analytics and need the onclick function added to the link so that it works properly. The problem is that I do not know how to edit the coding so that it will output the link like I have shown you above.

    Thank you

  2. #2
    Join Date
    Jan 2006

    Re: Need help editing the code

    Can you try to stack those codes in the onclick event like this:

        <a href="javascript:void(0);" onclick="loadevent('');pageTracker._link(''); return false;">Register</a>
    It will be able to run all of the commands as long as they're separated by semi-colons.

Similar Threads

  1. About VBScript Editing
    By Modifier in forum Software Development
    Replies: 2
    Last Post: 02-09-2009, 05:04 PM
  2. PSP hex editing
    By Gorganzola in forum Video Games
    Replies: 2
    Last Post: 26-06-2009, 05:19 PM
  3. DVD Editing Software
    By Arval in forum Windows Software
    Replies: 4
    Last Post: 28-03-2009, 01:55 PM
  4. Editing font
    By Waztek in forum Customize Desktop
    Replies: 4
    Last Post: 04-02-2009, 08:11 PM
  5. Editing Keyboard
    By bayz in forum Hardware Peripherals
    Replies: 1
    Last Post: 08-12-2008, 02:03 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Page generated in 1,638,001,229.98450 seconds with 17 queries