1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: HTML Collapsible

Discussion in 'Web Design & Development' started by rqdth1, Apr 20, 2015.

Thread Status:
Not open for further replies.
  1. rqdth1

    rqdth1 Thread Starter

    Joined:
    Sep 11, 2007
    Messages:
    146
    I'm building a table. The code works fine, the problem is, it includes links. When clicking the link, it opens the web page inside where the table is. I can't go back or make it open in a new window.

    Here's a sample of the style I'm using (not the whole thing):

    HTML:
    <div data-role="page" id="pageone">
      <div data-role="header">
        <h1>List</h1>
      </div>
    
      <div data-role="main" class="ui-content">
        <h2>Section</h2>
        <div data-role="collapsible">
        <h4>Expandable list</h4>
        <ul data-role="listview">
          <li><a href="link">Link Title</a></li>
     
  2. colinsp

    colinsp

    Joined:
    Sep 5, 2007
    Messages:
    2,290
    First Name:
    Colin
    What about adding target _blank to your url definition?
     
  3. rqdth1

    rqdth1 Thread Starter

    Joined:
    Sep 11, 2007
    Messages:
    146
    Perfect! Much appreciated. :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1146891

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice