PDA

Click to See Complete Forum and Search --> : [RESOLVED] Popup - Webbrowser Help


dunlop03
Jun 24th, 2010, 11:35 AM
Im using a php/html file to display the latest thread that is posted on a particular forum. All the webpage displays is one single link.

The visual basic app that im creating is a popup to let members know that theres a new thread posted.

Ive got form1 and a webbrowser control in it, when the app pops up it displays this one single link (the link is clickable) in the webbrowser control. Is there anyway to make that link "a non clickable link" ?

Because if the link is clickable it just opens up the page within the webbrowser which i dont want. I want to add my own buttons to re-direct the link.

Or maybe is it possible to disable the webbrowser control so the user cannot interact with it ?

:confused:

Pradeep1210
Jun 24th, 2010, 11:39 AM
Remove the href attribute of the link and it will be not clickable.

dunlop03
Jun 24th, 2010, 11:43 AM
Ive tried that i think , here the php line of code that displays the link:
$list = '';
while($fetch = mysql_fetch_array($query))
{
$list .= "<strong><a href=http://www.mysite.com/showthread.php?tid={$fetch['tid']}\">".htmlspecialchars_uni($fetch['subject'])."</a></strong><br />";

dunlop03
Jun 24th, 2010, 11:49 AM
Ok ive got it:

$list = '';
while($fetch = mysql_fetch_array($query))
{
$list .= "".htmlspecialchars_uni($fetch['subject'])."</a><br />";

Thanks guys