Joma Rajab

Joma Rajab

  • NA
  • 110
  • 51.1k

how to open the URL on the body of the page

Aug 23 2016 10:14 AM
I need to open the external link on the body of the page without going to new tab 
I tried target (blank.self, parent) which are for opening a new tab. however. I need to specify tag such div or any thing to display the page when the link is clicked from the menu. 
 
  1. this the link   
  2. <span >External Links</span></a>  
  3.                           <ul style="list-style:none">  
  4.                               <li><a href ="https://blackboard.brad.ac.uk/webapps/portal/execute/tabs/tabAction?tab_tab_group_id=_14_1" target="_self">Blackboard</a></li>  
  5.                               
  6.                                <li><a href="https://evision.brad.ac.uk/urd/sits.urd/run/SIW_LGN" target="_self">e:Vision</a></li>  
  7.                                </ul>  
  8.   
  9.   
  10. this the body of the page between section (main-content)  
  11.    
  12.   <section id="main-content">  
  13.           <section class="wrapper">  
  14.                    <div class="col-lg-3 ds" style="width: 70%; Height: auto; margin-left:-15px;" onscroll="true">  
  15.                     <!--COMPLETED ACTIONS DONUTS CHART-->  
  16.                           <div style="width: 100%; Height:100%;" class="col-md-4 col-sm-4 mb" >    
  17.                               <div class="white-panel pn donut-chart" style="width: 100%; Height: 100%;">  
  18.                                   <div class="col-sm-6 col-xs-6 goleft" style="float:left; width: 100%; Height: 100%; margin-left:10px;">  
  19.                         <h3>Recent Comments on lectures </h3>               
  20.                       <!-- First Action -->  
  21.                                 <asp:DataList ID="dlIdea" DataSourceID="SqlDataSource2" runat="server"  
  22.                                       Width="100%" HorizontalAlign="Left" CellPadding="2">  
  23.                                        
  24.                                              <ItemTemplate>  
  25.                                     <div class="desc">  
  26.                                         <div class="thumb">  
  27.                                             <span class="badge bg-theme"><i class="fa fa-clock-o"></i></span>  
  28.                                         </div>  
  29.                                      <a href="View.aspx?Id=<%# Eval("MaId") %>">    <div >  
  30.                                             <muted><%#Eval("IssueDate") %></muted><br /><div style="display:inline-block">  
  31.                                                  <asp:Label ID="Label5" runat="server" Width="200px" ForeColor="Black" Font-Bold="true" Text='<%#Eval("MName") %>'> </asp:Label>  
  32.                                                 <asp:Label ID="Label8" runat="server" ForeColor="Black" Font-Bold="true" Text='<%#Eval("VideoName") %>'> </asp:Label> <br />  
  33.                                                 <br />  
  34.                                                 <asp:Label ID="Label6" runat="server" Font-Italic="true" ForeColor="Black"  Text='<%#Eval("comment") %>'> </asp:Label></div>  
  35.                                         </div></a>  
  36.                                         </div>  
  37.                                            </ItemTemplate>  
  38.                                 </asp:DataList>  
  39.                                       <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"   
  40.                                           SelectCommand="SELECT TOP(5) t1.IssueDate, t1.comment, t2.*, t3.MName,t4.*,t5.* FROM [Comments] AS t1 INNER JOIN [Material] AS t2 ON t2.MaId=t1.MaID INNER JOIN [Modules] AS t3  
  41.                                           ON t3.MId=t2.MID  INNER JOIN [ModuleRelation] AS t4 ON t4.MId=t3.MId INNER JOIN [Users] AS t5 ON t5.UniID=t4.UId WHERE (t5.[UniID] =  @UId) ORDER BY t1.[IssueDate] DESC">  
  42.                                           <SelectParameters>  
  43.                                               <asp:SessionParameter SessionField="UniID" Name="UId" Type="String"></asp:SessionParameter>  
  44.                                           </SelectParameters>  
  45.                                       </asp:SqlDataSource>  
  46.                                              </div>  
  47.                                      </div></div></div>  
  48.              
  49.                                      </section>  
  50.                                   </section>  
 
please help  

Answers (2)