Best Online Calendar

Support

Knowledge Base

Browse knowledge base categories or search with keyword related to your question.

Email Support

Can't find your answer?

Contact Support or Contact Sales
Search:     Advanced search
Browse by category:

Set Upcoming Events List "More..." Link or Header Link to Open in Same Window

Article ID: 143
Last updated: 28 Apr, 2014

To get the Heading Link or "More.." link at the bottom of your Upcoming Events List to open in the same window, you will need to have jQuery loaded on your web page.

Here are the steps to take to get the "More.." link or Header link to open in the same window.

  1. Open your web page code using your webpage editor.  If you do not already have jQuery loaded on your web page you can do so by inserting the following code into the head of your web page.

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
     
  2. Insert the javascript snippet for your upcoming events list into your webpage.  You can access this code via:
    Admin Menu > Website Plugins > Upcoming Events List
     
  3. Insert this jQuery code at the bottom of the webpage. 
    Note: do not insert the the jQuery code into the Upcoming Events List code.

    For "More..." or Bottom link:
    <script type="text/javascript">$('a[id^="cwucebottomanchor"]').attr('target','_self');</script>

    For Header link:
    <script type="text/javascript">$('a[id^="cwuceheadanchor"]').attr('target','_self');</script>
     
  4. Upload changes made to your page.  Refresh page before testing.
     
Others in this category
document Add a Mini Calendar to a Web Page
document Create more than one Upcoming Events List for a website
document Add an Upcoming Events List to your web page:
document Additional Customization Options for your Upcoming Events List:
document Add a Suggest Event form to a Web Page
document Create a Scrolling Upcoming Events List For A Web Page:
document Using Website Plugins In SharePoint 365
document How can I remove the Upcoming Events List scroll bar?
document How to Adjust the Search Widget Width
document Create a "Featured Events" Upcoming Events List:
document Add Upcoming Events List by URL (without JavaScript)
document NEW FEATURE: Add images to your upcoming events list