Results 1 to 15 of 15

Thread: [RESOLVED] Why isn't it leeching the html??

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    431

    Resolved [RESOLVED] Why isn't it leeching the html??

    This drives me crazy... Working with html is frustrating enough without me having to worry if my tools are working or not...

    VB Code:
    1. RichTextBox1.Text = Inet1.OpenURL("www.imageshack.us/", icString)

    I get:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>ImageShack® - Hosting</title>
    <link rel="stylesheet" href="img/style-def.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <script type="text/javascript">
    
    var url = "http://imageshack.us/";
    var title = "ImageShack.us® - Image Hosting";
    
    function highlight(field) {
    	field.focus();
      	field.select();
    }
    
    function phpbb(){
       window.open ('phpbb.php', 'phpbb', config='height=450, width=720, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no');
    }
    
    function vb(){
       window.open ('vb.php', 'vb', config='height=450, width=720, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no');
    }
    
    function sm(){
       window.open ('sm.php', 'sm', config='height=450, width=720, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no');
    }
    
    function ipb(){
       window.open ('ipb.php', 'ipb', config='height=450, width=720, to

    I want:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>ImageShack® - Hosting</title>
    <link rel="stylesheet" href="img/style-def.css" type="text/css">
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
    <script type="text/javascript">
    
    var url = "http://imageshack.us/";
    var title = "ImageShack.us® - Image Hosting";
    
    function highlight(field) {
    	field.focus();
      	field.select();
    }
    
    function phpbb(){
       window.open ('phpbb.php', 'phpbb', config='height=450, width=720, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no');
    }
    
    function vb(){
       window.open ('vb.php', 'vb', config='height=450, width=720, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no');
    }
    
    function sm(){
       window.open ('sm.php', 'sm', config='height=450, width=720, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no');
    }
    
    function ipb(){
       window.open ('ipb.php', 'ipb', config='height=450, width=720, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no');
    }
    
    function favorites(){
    if(document.all)
    window.external.AddFavorite(url,title)
    }
    
    function disableme (what) {
    	what = document.getElementById(what);
    	what.disabled = true;
    	what.value="uploading...";
    }
    
    
    function validateForm(theForm)
    {
    
        if (theForm.name.value=="" ||theForm.email.value=="" ||theForm.subj.value=="" ||theForm.idea.value==""||theForm.email.value.indexOf("@")==-1 || theForm.email.value.indexOf(".") == -1) {
                    alert("ERROR: Either you did not fill the form out to completion, or your email address is incorrect.");
                    return false;
            }
    
        if (theForm.corr.selectedIndex==0) {
                    alert("You must select a 'Reason for Email' from the drop-down box.");
                    return false;
            }
    
    	if (theForm.corr.selectedIndex==1 && theForm.idea.value.indexOf("http://")==-1) {
                     alert("You must include at least one link or URL pertaining to your request in the body of your email.\n The link or URL must begin with http://");
                     return false;
             }
    
    
    }
    
    var buttonname = '"Browse..."';
    function showoptions(what) {
    var ext = what.value.substr(what.value.length - 3,3).toLowerCase();
    switch (ext) {
    case 'jpg':
    case 'peg':
    case 'png':
    case 'gif':
    case 'bmp':
    case 'tif':
    case 'iff':
    document.getElementById('resizeoptions').style.display='';
    document.getElementById('filetypeerror').style.display='none';
    document.getElementById('butan').disabled=false;
    document.getElementById('butan').value='host it!';
    break;
    case 'swf':
    document.getElementById('resizeoptions').style.display='none';
    document.getElementById('filetypeerror').style.display='none';
    document.getElementById('butan').disabled=false;
    document.getElementById('butan').value='host it!';
    break;
    case '':
    document.getElementById('butan').disabled=true;
    document.getElementById('butan').value=buttonname;
    default:
    document.getElementById('resizeoptions').style.display='none';
    document.getElementById('filetypeerror').style.display='';
    document.getElementById('butan').disabled=true;
    document.getElementById('butan').value='bad file type';
    break;
    }
    }
    
    function doload() {
    what = document.getElementById('butan');
    if (document.getElementById('fileupload').value == '') {
    	what.disabled=true;
    	what.value = 'select an image using ' + buttonname;
    	document.getElementById('resizeoptions').style.display='none';
    }
    document.getElementById('optsize').disabled = !document.getElementById('optimage').checked;
    }
    
    function toggleuploadmode(file) {
    	if (file) {
    		document.getElementById('upfile').style.display='block';
    		document.getElementById('upurl').style.display='none';
    		document.getElementById('upform').action='http://www.imageshack.us/index.php';
    	} else {
    		document.getElementById('upfile').style.display='none';
    		document.getElementById('upurl').style.display='block';
    		document.getElementById('upform').action='http://www.imageshack.us/transload.php';
    	}
    }
    
    function focusfield(fl) {
    	if (fl.value=="paste image url here") {
    		fl.value='';
    		fl.style.color='black';
    	}
    }
    
    
    
    -->
    </script>
    
    </head>
    <body bgcolor="#F7F7F7">
    <table width="760" cellspacing="0" cellpadding="0" border="0" align="center"><tr><td><a href="http://imageshack.us/"><img alt="ImageShack® Logo" src="http://imageshack.us/img/imageshack.png" title="" /></a></td><td valign="bottom" align="left">
    <b><a href="http://imageshack.us/">ImageShack®</a>
     | <a href="http://imageshack.us/slideshow/">Slideshows</a> | <a href="http://reg.imageshack.us/content.php?page=features">Tools</a>
     | <a href="http://reg.imageshack.us/content.php?page=faq">Common Questions</a>
     | <a href="http://reg.imageshack.us/content.php?page=rules">Terms of Service</a>
     | <a href="http://reg.imageshack.us/content.php?page=register">My Images</a></b>
    
    </td></tr></table>
    <div class="don" style="color: #ccc">img218 at 38.99.76.18</div><table cellpadding="5" width="760" border="1" bordercolor="#CCCCCC" class="table_decoration" align="center"><tr><td valign="top"><!-- BEGIN STANDARD TAG - 300 x 250 - ROS: Run-of-site - DO NOT MODIFY -->
    <SCRIPT TYPE="text/javascript" SRC="http://content.cpxinteractive.com/rmtag3.js"></SCRIPT>
    <SCRIPT language="JavaScript">
    var rm_host = "http://adserving.cpxinteractive.com";
    var rm_section_id = 26437;
    var rm_pub_redirect_dont_encode = 1;
    var rm_iframe_tags = 1;
    
    rmShowAd("300x250");
    </SCRIPT>
    <!-- END TAG -->
    </td><td valign="top"><p>ImageShack's mission is to provide an easy-to-use image hosting service.</p><p><b><a href="http://reg.imageshack.us/content.php?page=faq">New to ImageShack</a></b>? Start an <a href="http://imageshack.us/slideshow/"><b>Image Slideshow</b></a>, or upload an image:</p><br />
    <form method="post" action="http://www.imageshack.us/" enctype="multipart/form-data" onsubmit="disableme('butan')" id="upform">
    <table cellspacing="0" cellpadding="0" border="0"><tr>
    
    <td><p style="font-size: 11px;">upload: <input type="radio" name="uploadtype" onclick="toggleuploadmode(true);" checked>
     file <input type="radio" name="uploadtype" onclick="toggleuploadmode(false);"> url</p></td>
    
    <td width="2">&nbsp;</td>
    
    <td><div id="upfile"><input type="file" name="fileupload" size="30" onchange="showoptions(this)" id="fileupload"></div>
     <div id="upurl" style="display: none"><input type="text" id="fileupload" value="paste image url here" style="color: #888;"
    onfocus="focusfield(this)" name="url" size="30"></div></td> 
    
    (etc, was 2 long for this tread)
    Last edited by Zeratulsdomain; May 9th, 2006 at 12:32 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width