Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
how to open the URL on the body of the page
Joma Rajab
8y
341
1
Reply
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.
this
the link
<span >External Links</span></a>
<ul style=
"list-style:none"
>
<li><a href =
"https://blackboard.brad.ac.uk/webapps/portal/execute/tabs/tabAction?tab_tab_group_id=_14_1"
target=
"_self"
>Blackboard</a></li>
<li><a href=
"https://evision.brad.ac.uk/urd/sits.urd/run/SIW_LGN"
target=
"_self"
>e:Vision</a></li>
</ul>
this
the body of the page between section (main-content)
<section id=
"main-content"
>
<section
class
=
"wrapper"
>
<div
class
=
"col-lg-3 ds"
style=
"width: 70%; Height: auto; margin-left:-15px;"
onscroll=
"true"
>
<!--COMPLETED ACTIONS DONUTS CHART-->
<div style=
"width: 100%; Height:100%;"
class
=
"col-md-4 col-sm-4 mb"
>
<div
class
=
"white-panel pn donut-chart"
style=
"width: 100%; Height: 100%;"
>
<div
class
=
"col-sm-6 col-xs-6 goleft"
style=
"float:left; width: 100%; Height: 100%; margin-left:10px;"
>
<h3>Recent Comments on lectures </h3>
<!-- First Action -->
<asp:DataList ID=
"dlIdea"
DataSourceID=
"SqlDataSource2"
runat=
"server"
Width=
"100%"
HorizontalAlign=
"Left"
CellPadding=
"2"
>
<ItemTemplate>
<div
class
=
"desc"
>
<div
class
=
"thumb"
>
<span
class
=
"badge bg-theme"
><i
class
=
"fa fa-clock-o"
></i></span>
</div>
<a href=
"View.aspx?Id=<%# Eval("
MaId
") %>"
> <div >
<muted><%#Eval(
"IssueDate"
) %></muted><br /><div style=
"display:inline-block"
>
<asp:Label ID=
"Label5"
runat=
"server"
Width=
"200px"
ForeColor=
"Black"
Font-Bold=
"true"
Text=
'<%#Eval("MName") %>'
> </asp:Label>
<asp:Label ID=
"Label8"
runat=
"server"
ForeColor=
"Black"
Font-Bold=
"true"
Text=
'<%#Eval("VideoName") %>'
> </asp:Label> <br />
<br />
<asp:Label ID=
"Label6"
runat=
"server"
Font-Italic=
"true"
ForeColor=
"Black"
Text=
'<%#Eval("comment") %>'
> </asp:Label></div>
</div></a>
</div>
</ItemTemplate>
</asp:DataList>
<asp:SqlDataSource ID=
"SqlDataSource2"
runat=
"server"
ConnectionString=
"<%$ ConnectionStrings:ConnectionString %>"
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
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">
<SelectParameters>
<asp:SessionParameter SessionField=
"UniID"
Name=
"UId"
Type=
"String"
></asp:SessionParameter>
</SelectParameters>
</asp:SqlDataSource>
</div>
</div></div></div>
</section>
</section>
please help
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Hide edit and delete button based on the status of each reco
web form obtain data