#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2014
    Posts
    5
    Rep Power
    0

    CSS/HTML Problem


    I am using a generic target blank function in my blog, and as result all the Href links opens in a new Window. But I have identified links which need to be opened in the same window and using target blank code for this. However, I am using a Page Navigation widget which opens in a new Window because of the generic call. Please let me know how I can open the new page call in the same Window/Tab for the code mentioned below. Kindly help.

    My Blog ID: Test BLOG

    Code:
    1. /* This is CSS code above ]]></b:skin> */
    
    .page-navigation{clear:both;margin:30px auto;text-align:center;}
    .page-navigation span,.page-navigation a{padding: 5px 10px;margin-right:5px; color: #F4F4F4; background-color:#404042;-webkit-box-shadow: 0px 5px 3px -1px rgba(50, 50, 50, 0.53);-moz-box-shadow:0px 5px 3px -1px rgba(50, 50, 50, 0.53);box-shadow: 0px 5px 3px -1px rgba(50, 50, 50, 0.53);}
    .page-navigation a:hover,.page-navigation .current{background:#EC8D04;text-decoration:none;color: #fff;}
    .page-navigation .pages,.page-navigation .current{font-weight:bold;color: #fff;-webkit-box-shadow: inset 0px -1px 2px 0px rgba(50, 50, 50, 0.69);-moz-box-shadow:inset 0px -1px 2px 0px rgba(50, 50, 50, 0.69);box-shadow:inset 0px -1px 2px 0px rgba(50, 50, 50, 0.69);}
    .page-navigation .pages{border:none;-webkit-box-shadow: 0px 5px 3px -1px rgba(50, 50, 50, 0.53);-moz-box-shadow:0px 5px 3px -1px rgba(50, 50, 50, 0.53);box-shadow: 0px 5px 3px -1px rgba(50, 50, 50, 0.53);}
    
    
    2. /* Code for Widget replacement */
    
    <b:includable id='page-navi'>
    <div class='page-navigation'>
    <script type='text/javascript'>
    var pgNavigConf = {
    perPage: 7,
    numPages: 6,
    firstText: &quot;First&quot;,
    lastText: &quot;Last&quot;,
    nextText: &quot;Next&quot;,
    prevText: &quot;Prev&quot;
    }
    </script>
    <script src='https://ugwoke-charles-jsfiles.googlecode.com/svn/trunk/page-navigation.js' type='text/javascript'/>
    <div class='clear'/>
    </div>
    </b:includable>
    
    
    3.
    
    
    <b:if cond='data:blog.pageType == "index"'>
    <b:include name='page-navi' />
    <b:else/>
    <b:if cond='data:blog.pageType == "archive"'>
    <b:include name='page-navi' />
    </b:if>
    </b:if>
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2014
    Posts
    5
    Rep Power
    0
    Kindly Note: My earlier communication should have read as follows:

    I am using a generic target blank function in my blog, and as result all the Href links opens in a new Window. But I have identified links which need to be opened in the same window and using TARGET SELF code for this.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2014
    Location
    bnangalore
    Posts
    9
    Rep Power
    0
    used to href link ; and change to the font color;

IMN logo majestic logo threadwatch logo seochat tools logo