www.webdeveloper.com
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21

Thread: Opening links in multiple tabs of browser

  1. #16
    Join Date
    Dec 2013
    Posts
    14
    Part -2
    Code:
    </td>
    <td>  
    <textarea style="resize: none;background-color: #f1f5fc;" cols="103" rows="43" id="descp" width="100%">
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    </textarea> 
    </td> 
    </tr> 
    </table></center>
    <hr>
    	
    
    <div>
    <iframe width="100%" height="100%" src="></iframe>
    </div>
    <div id="checkbox_group_2" >    
       <table  width="100%" border="0">
        <tr style="height:30px;border-style:border-collapse:collapse;solid;border-color: #abd5f5;bgcolor="#a3c5e7" >
         <td colspan="10" style="border-style:border-collapse:collapse;solid;border-color: #abd5f5;">
       <table>
       <tr align="left" bgcolor="#a3c5e7">
        <td ALIGN= "LEFT"rowspan="2" style="border-right: 0px;">
         <div style='overflow:hidden;max-height:30px'>
          <FONT COLOR="#369",Cambria>
           <B>
            <CENTER>
             Project
            </CENTER>
           </B>
         </td>
        <td style="width:6%;">
         <FONT COLOR="#369",Cambria SIZE=3>
           XXXXXXX
        </td>
        <td style="width:6%;">
         <input name="aaa" type="text" maxlength="10" size="12">
        <td>
        <td align="left" style="width:5%;">
         <FONT COLOR="#369",Cambria >
          XXXXXXX
         </td>
        <td width="6">
         <input name="bbb" type="text"maxlength="6" size="6">
        </td>
        <td style="width:2%;">
         <FONT COLOR="#369",Cambria >
          XXXXXXX
        </td>
        <td style="width:22%;" ><input name="cccccc" type="text" size="53" >
        </td>
        <td style="width:5%;"><FONT COLOR="#369",Cambria SIZE=3>
         xxxxxxxx
        </td>
        <td width="14">
         <input name="ddddddd" type="text"maxlength="14" size="14">
        </td>
        
        <td align="left" width="3"><input type='reset' value='Reset' name='reset' onclick="return resetForm(this.form);"></td>
      </tr>
    </table>
    <br>
    
    <table  width="100%" align="left" border="1" style="border-collapse:collapse;solid;border-color: #abd5f5">
    
        <tr style="height:30px" bgcolor=" #d0e5f5">
            <td><center>xxxxxxxxxxxxxxxx</center></td>
            <td align="justify"> <center>xxxxxxxxxxxxxxxxxxxxxxxx</center> </td>
        </tr>
    <tr>
        <td>
    <table width="100%" align="left" border="1" style="border-collapse:collapse;solid;border-color: #abd5f5">
    </tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="a" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="b" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="c" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="d" value="[link1] />XXXXXXXXX</td>
    </tr>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="e" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="f" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="g" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="h" value="[link1] />XXXXXXXXX</td>
    <tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
    <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="i" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="j" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="j" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="k" value="[link1] />XXXXXXXXX</td>
    </tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="l" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="m" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="n" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="o" value="[link1] />XXXXXXXXX</td>
    </tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="p" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="q" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="r" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="s" value="[link1] />XXXXXXXXX</td> 
    </tr>
    </table>
    
     </td>
    <td>  
    <textarea style="resize: none;background-color: #f1f5fc;" cols="103" rows="43" id="descp" width="100%">
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    </textarea> 
    </td> 
    </tr> 
    </table></center>
    <hr>
    	
    
    <div>
    <iframe width="100%" height="100%" src="></iframe>
    </div>   
    
    
    
    </div>
    </form>
                    
    
            </body>
    </html>

  2. #17
    Join Date
    Dec 2013
    Posts
    14
    Part- 2

    Code:
    </td>
    <td>  
    <textarea style="resize: none;background-color: #f1f5fc;" cols="103" rows="43" id="descp" width="100%">
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    </textarea> 
    </td> 
    </tr> 
    </table></center>
    <hr>
    	
    
    <div>
    <iframe width="100%" height="100%" src="></iframe>
    </div>
    <div id="checkbox_group_2" >    
       <table  width="100%" border="0">
        <tr style="height:30px;border-style:border-collapse:collapse;solid;border-color: #abd5f5;bgcolor="#a3c5e7" >
         <td colspan="10" style="border-style:border-collapse:collapse;solid;border-color: #abd5f5;">
       <table>
       <tr align="left" bgcolor="#a3c5e7">
        <td ALIGN= "LEFT"rowspan="2" style="border-right: 0px;">
         <div style='overflow:hidden;max-height:30px'>
          <FONT COLOR="#369",Cambria>
           <B>
            <CENTER>
             Project
            </CENTER>
           </B>
         </td>
        <td style="width:6%;">
         <FONT COLOR="#369",Cambria SIZE=3>
           XXXXXXX
        </td>
        <td style="width:6%;">
         <input name="aaa" type="text" maxlength="10" size="12">
        <td>
        <td align="left" style="width:5%;">
         <FONT COLOR="#369",Cambria >
          XXXXXXX
         </td>
        <td width="6">
         <input name="bbb" type="text"maxlength="6" size="6">
        </td>
        <td style="width:2%;">
         <FONT COLOR="#369",Cambria >
          XXXXXXX
        </td>
        <td style="width:22%;" ><input name="cccccc" type="text" size="53" >
        </td>
        <td style="width:5%;"><FONT COLOR="#369",Cambria SIZE=3>
         xxxxxxxx
        </td>
        <td width="14">
         <input name="ddddddd" type="text"maxlength="14" size="14">
        </td>
        
        <td align="left" width="3"><input type='reset' value='Reset' name='reset' onclick="return resetForm(this.form);"></td>
      </tr>
    </table>
    <br>
    
    <table  width="100%" align="left" border="1" style="border-collapse:collapse;solid;border-color: #abd5f5">
    
        <tr style="height:30px" bgcolor=" #d0e5f5">
            <td><center>xxxxxxxxxxxxxxxx</center></td>
            <td align="justify"> <center>xxxxxxxxxxxxxxxxxxxxxxxx</center> </td>
        </tr>
    <tr>
        <td>
    <table width="100%" align="left" border="1" style="border-collapse:collapse;solid;border-color: #abd5f5">
    </tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="a" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="b" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="c" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="d" value="[link1] />XXXXXXXXX</td>
    </tr>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="e" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="f" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="g" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="h" value="[link1] />XXXXXXXXX</td>
    <tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
    <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="i" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="j" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="j" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="k" value="[link1] />XXXXXXXXX</td>
    </tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="l" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="m" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="n" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="o" value="[link1] />XXXXXXXXX</td>
    </tr>
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#fad67d">
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="p" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="q" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="r" value="[link1] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="s" value="[link1] />XXXXXXXXX</td> 
    </tr>
    </table>
    
     </td>
    <td>  
    <textarea style="resize: none;background-color: #f1f5fc;" cols="103" rows="43" id="descp" width="100%">
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    XXXXXXXXXXXXX:
    </textarea> 
    </td> 
    </tr> 
    </table></center>
    <hr>
    	
    
    <div>
    <iframe width="100%" height="100%" src="></iframe>
    </div>   
    
    
    
    </div>
    </form>
                    
    
            </body>
    </html>

  3. #18
    Join Date
    Dec 2011
    Location
    Centurion, South Africa
    Posts
    795


    There are so many errors in this document, more than likely causing the problems you're experiencing. I will point out a few so you can see:

    From line 73: (bad css, unquoted attributes, and missing quotes)
    Code:
        <tr style="height:30px;border-style:border-collapse:collapse;solid;border-color: #abd5f5;bgcolor="#a3c5e7" >
         <td colspan="10" style="border-style:border-collapse:collapse;solid;border-color: #abd5f5;">
       <table>
       <tr align="left" bgcolor="#a3c5e7">
        <td ALIGN= "LEFT"rowspan="2" style="border-right: 0px;">
         <div style='overflow:hidden;max-height:30px'>
          <FONT COLOR="#369",Cambria>
           <B>
            <CENTER>
             Project
            </CENTER>
           </B>
         </td>
        <td style="width:6%;">
         <FONT COLOR="#369",Cambria SIZE=3>
    From line 128: (open attributes)
    Code:
    <tr style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5" bgcolor="#f1f5fc">
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="a" value="[link] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="b" value="[link] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="c" value="[link] />XXXXXXXXX</td>
     <td style="height:30px;border-collapse:collapse;solid;border-color: #abd5f5"><input type="checkbox"name="d" value="[link] />XXXXXXXXX</td>
    </tr>
    Line 173: (open attribute)
    Code:
    <iframe width="100%" height="100%" src="></iframe>
    The errors seem repeated afterwards.

    Best way to prevent unexpected errors is to keep your document as valid as possible.
    You can validate your documents using this site: http://validator.w3.org/
    JavaScript: Learn | Validate | Compact | bionoid

  4. #19
    Join Date
    Dec 2013
    Posts
    14
    Thanks for the links ill use that to check my code... will get back after rechecking my code... thanks for the input...i have been learning a lot.. thanks for your valuable input... but one more question.... as and when im togging between the Radio buttons ...is it possible for me to clear the form ...upon clicking... i should be using the onclick feature right ?

  5. #20
    Join Date
    Dec 2011
    Location
    Centurion, South Africa
    Posts
    795
    Well, you are already calling code with the onclick event on your radio buttons, you could either extend the function they are calling, or add another function call on that event, eg:

    Code:
    <input type="radio" name="checkbox_group" value="2" onclick="clearForm(); showCheckboxGroup();" />
    JavaScript: Learn | Validate | Compact | bionoid

  6. #21
    Join Date
    Jan 2014
    Posts
    1
    Any Solution for this : If yes, Kindly explain over here.

    In Home Page If I click on the slideshow arrows, then leave the page to a different browser page (Like sub page), but leave that one open and come back to the Home Page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
HTML5 Development Center



Recent Articles