HTML - Launching Ie - Problem
unfortunately it is PHP based - so has to be served
Similar TutorialsI know for security reasons its not easy to launch an EXE from a browser. I tried coding a .HTA file but I got javascript errors etc when I tried to run it. All this stuff didnt work for me: Quote: var ws = new ActiveXObject("WScript.Shell"); ws.Exec("C:\\Program Files\\myprogram.exe"); In the end the best I could do was to have IE open a Windows Explorer window to my folder and put a file there saying "Double-Click-To-Install.exe" (I am shipping a DVD which autoruns index.html which has instructions etc on install options etc. I can't call directly my setup.exe from the autorun because there are many options the user can choose from.) ----- I forgot to mention that Firefox does not open a windows explorer window. How can I get this working as IE does ? This is what I use to open my window: (its attached to a button) Quote: onclick="parent.location='INSTALLER1'" I'm using a php video-sharing site script where you would make a purchase to view a video. The code below is from the html search results page, where a list of thumbnails appears when you search certain keywords. Currently when you select the thumbnail, to view the video, prior to paying, a page pops-up in a pop-up box(inner_purchase.htm page) showing a message. I asked someone (JG) to help me change it to just a pop-up message box to appear, rather than the inner_purchase page, and he added code below called Custom Message Block, but the inner_purchase page still appears, instead of the Custom Message Block. Can you help me figure out how I can make this so the Custom Message Block appears, rather than the inner_purchase page? Thanks. Any help or suggestions will be appreciated. Code: <!--Begin Left Column--> <div id="column-left-2"> <br /> <!--Begin Whats Showing Menu--> <div class="header-narrow"><h3>[var.get_type]</h3></div> <div class="whats-showing"> <ul> <li><!--<a href="[var.url_link]/load/featured">[var.lang_featured]</a>--></li> <li><!--<a href="[var.url_link]/load/viewed">[var.lang_most_viewed]</a>--></li> <li><!--<a href="[var.url_link]/load/recent">[var.lang_most_recent]</a>--></li> <li><!--<a href="[var.url_link]/load/comments">[var.lang_most_comments]</a>--></li> </ul> </div> <div class="container-narrow-bottom"></div><!--End Whats Showing Menu--> <br /> <!--Begin Popular Tag Cloud populate from search type ??--> <!--<div class="header-narrow"><h3>[var.lang_Tags_most_popular]</h3></div>--> <!--<div class="whats-showing"><!--[var.tag_cloud_block;htmlconv=no;comm]--></div>--> <!--<div class="container-narrow-bottom"></div>--><!--End Popular Tag Cloud--> <!--Begin Left Advert--> <!--<div class="container-narrow-top"></div>--> <!--<div id="advert-left"><!--[var.ads_left;htmlconv=no;comm]--></div>--> <!--<div class="container-narrow-bottom"></div>--><!--End Left Advert--> <!--<div style="height:120px;"> </div>--> </div><!--End Left Column--> <!--Begin Right Column--> <div id="column-right-2"> <!--Begin Video Search List--> <div style="height: 2px;"> </div> <span style="margin-bottom: 12px;" class="font5_15"> "[var.keyword]" [var.get_type_word] [var.lang_search] [var.results_show] - [var.results_of] of [var.total_records] [var.lang_results] <br /> <!-- Replace ambiguous text with clear button links below. -JG --> <!-- Please Select the Continue Button to Purchase Now - Or Search Again.<br />--> <form id="buyVideo" name="buyVideo" method="post" action="buy-video.php"> <!-- CONTINUE button replaced. -JG --> <!--input type="submit" name="purchase" value="Continue" style="margin:7px 0" rel="gb_page_center[600, 435] "--> <input type="submit" name="purchase" value="Use Credits Now" style="margin:7px 0" rel="gb_page_center[600, 435] "> <input type="button" name="search" value="Search Again" onclick="window.location.href='page.php?page=9';" style="margin:7px 0"> <input type="button" name="search" value="Purchase Credits" onclick="window.location.href='credits.php';" style="margin:7px 0"> <input type="hidden" name="keyword" value="[var.keywords2]"> <input type="hidden" name="submitted" value="yes"> <input type="hidden" name="ttl" value="[var.total_price]"> <input type="hidden" name="user_id" value="[var.user_id]"> <input type="hidden" name="credits" value="[var.member_credits]"> <input type="hidden" name="id[]" value="[blkfeatured2.indexer;block=input]"></input> </span> <br><!-- Check All Box --> <input type="checkbox" name="checkall" onclick='checkedAll()'> Select All<br> <!-- end checkbox mod --> <!-- ******************************** START OF CUSTOM MESSAGE BLOCK ******************************* -JG --> <script> function doCreditCheck() { // The custom message block only appears when the PAY/SEARCH buttons are present. // The presence of those buttons indicates that you need to pay before viewing the video. document.getElementById('popupBuyMsg').style.display = 'block'; // We return false so that the href associated with this object is ignored. return false; } </script> <style> .buymsg { display:none; position:absolute; top:300px; left:300px; width:350px; background-color:#eeeeff; border-style:solid; border-width:1px; padding:15px 20px 5px 20px; } .buymsgclose { text-decoration:none; font-size:0.9em; font-variant:small-caps; margin-top:10px; } </style> <!-- Hidden message block to replace inner_purchase.htm when only a GreyBox message is being displayed. --> <div id="popupBuyMsg" class="buymsg"> You must use "credits" to view this video.<br> You have <strong>[var.member_credits]</strong> credits in your account.<br> <br /> To view this video select "Use Credits".<br> To purchase credits select "Purchase Credits".<br> Or Search Again. <div style="width:100%; text-align:right;"> <a class="buymsgclose" href="#" onclick="document.getElementById('popupBuyMsg').style.display = 'none'; return false;">Close Window</a> </div> </div> <!-- ********************************** END OF CUSTOM MESSAGE BLOCK ********************************** --> <div id="content-list"> <ul class="content-list-thumb" style="margin-top: 13px;"> <span style="margin-left: 1px;"><input type="checkbox" name="checkedBoxs[]" value="[blkfeatured.indexer;block=div]"></span><br /> <br /> <!-- Add an onclick feature that first checks to see if you need to use purchase credits. -JG --> <li><a href="videos/[blkfeatured.indexer;block=div]/[blkfeatured.title_seo;block=div]" rel="gb_page_center[600, 435]"><img src="uploads/thumbs/[blkfeatured.thumb_string;block=div].jpg" alt="video pic" width="120" height="90" border="0" /></a></li> <!--li><a onclick="return doCreditCheck();" href="videos/[blkfeatured.indexer;block=div]/[blkfeatured.title_seo;block=div]"><img src="uploads/thumbs/[blkfeatured.thumb_string;block=div].jpg" alt="video pic" width="120" height="90" border="0" /></a></li--> </ul> <ul class="content-list-info"> <li><h4><span style="color: #000000;">[var.lang_title]:</span> <a href="videos/[blkfeatured.indexer;block=div]/[blkfeatured.title_seo;block=div]" rel="gb_page_center[600, 435] "><!--[blkfeatured.title;htmlconv=no;block=div;ope=max:70;comm]--></a></h4></li> <!--<li><b>[var.lang_description]: </b><!--[blkfeatured.description;htmlconv=no;block=div;ope=max:68;comm]--></li>--> <li><!--<span class="font4_12">[var.lang_rating]test </span>--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star1;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star2;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star3;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star4;block=div]" width="18" height="18" alt="1 Star" />--> <!--<img border="0" src="themes/[var.user_theme]/images/[blkfeatured.star5;block=div]" width="18" height="18" alt="1 Star" />--> <!--<span class="font4_12">[var.lang_views]: </span>--><!--(<!--[blkfeatured.number_of_views;block=div;comm]-->)--> <!--<span class="font4_12">[var.lang_duration]: </span>--><!--(<!--[blkfeatured.video_length;block=div;ope=max:45;comm]-->)--> <!--<span class="font4_12">[var.lang_uploaded]: </span>--> </li> <li><!--<span class="font4_12">[var.lang_tags]: </span>--></li> <li><!--<b>[var.lang_comments] - [var.lang_responses]: </b>--><!--(<!--[blkfeatured.comments;block=div;ope=max:80;comm]-->)--></li> </ul> [onload;block=div;when [var.type_videos]=1;] </div> <!--End Video Search--> <!-- Pagination start --> <div align="center"> <div id="pagination"> <li> </li> <ul>[var.show_pages;htmlconv=no]</ul> </div> </div> <!-- Pagination end --> </div><!--End Right Column--> </form> I need to to launch a form from clicking on a button. How do I do that? I have a form working that emails the contents of the form. Also, is there anyway to pass the id or the name of the button that launched the form. Thanks!! Hi all, I'm trying to create a web application module that allows users to bookmark links to favourite applications on their client PCs. One of these applications I want them to be able to access is Outlook. Any ideas how this can be done using Javascript? What I hope to be able to do is to launch Outlook from an "a href" link. Thanks in advance for any suggestions! I would like to have an image that takes 2 url like the following image... is it possible? if so, can someone please tell me how this could be done? Thank you very much.. NOTE: I tried doing this... <map name= 'url1' > <area shape= 'poly' coords= ' 0 , 0 , 50 , 0 , 0 , 50 ' href= 'url1.html' > </map> <a href= 'url2.html' > <img src= 'img.jpg' width= 50 height= 50 usemap= '#url1' > </a> but this only get 'url1' woring... Okay, I know that this problem is going to be really really easy, but I forgot how to do it. I use to own an older website and forgot the code. Anyways, I only know how to describe it. When I minimize the screen, it is minimizing the whole thing and collapsing it making the iframes smaller and the text fit into a smaller space. Most websites have a code (i don't know what it is) so that when someone minimizes their browser, it just makes the browser smaller and not the actual page. Here's what it looks like: http://www.freewebs.com/noeylani94/index.htm Try minimizing that and see how it looks. It collapses the whole page right? Can someone tell me the code how to fix it? Thanks =D everything to the same site as my previous one (http://brett.unixpod.com) looks fine in IE but in firefox and safari (the only other 2 browsers i have) its missing the main table background and the main table background-color. what could be rong??? I"m haveing a problem with my page, there is a gap where I don't want one to be, here is my code, I don't know if it is the css or html. the gap is between the leftBar and the content. I"ve used *html with the height:1px before, for the sideMenu, but I don't know if the same trick would apply for width. index.php: HTML Code: <?php session_start(); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>WootWoot</title> <link href="style.css" rel="stylesheet" type="text/css" /> </head> <body><center> <div id="wrapper"> <div id="header"> </div> <div id="mainnav"> <ul id="mainMenu"> <div id="spacer"> </div> <li><a href="index.php">Home</a></li> <li> <?php if(isset($_SESSION['validUser'])){ echo '<a href="logout.php">Log Out</a></li>'; } else if(!isset($_SESSION['validUser'])){ echo '<a href="login.php">Log In</a></li>'; } ?> <li><a href="profile.php">Profile</a></li> <li><a href="daily.php">Daily</a></li> <li><a href="search.php">Search</a></li> </ul> </div> <div id="leftbar"> <ul id="sideMenu"> <li><a href="shorts.php">Submit a short story</a></li> <li><a href="popular.php?select=today">View popular works from today</a></li> <li><a href="popular.php?select=week">View popular works from last week</a></li> <li><a href="popular.php?select=tmonth">View popular works from this month</a></li> <li><a href="popular.php?select=lmonth">View popular works from last month</a></li> </ul> </div> <div id="content"> Main content here.Main content here.Main content here.Main content here.Main content here. Main content here.Main content here.Main content here.Main content here.Main content here. Main content here.Main content here.Main content here.Main content here.Main content here. Main content here.Main content here.Main content here.Main content here.Main content here. Main content here.Main content here.Main content here.Main content here.Main content here. Main content here.Main content here.Main content here.Main content here.Main content here. Main content here.Main content here.Main content here.Main content here.Main content here. </div> </div> </center></body> </html> style.css: Code: /* Page Layout */ body { text-align:center; background-color:Silver; } #wrapper { width:901px; background-image:url(Images/sidebar_1.jpg); background-repeat:repeat-y; } #header { height:120px; width:900px; background-color:Black; float:none; color:Black; } #mainnav { height:20px; background-image:url(Images/bg_2.jpg); background-repeat:repeat-x; background-position:bottom left; } #spacer { float:left; width:160px; } #leftbar { float:left; width:160px; color:Black; background-image:none; } #content { margin-left:160px; color:Black; padding:5px; background-color:Gray; min-height:30em; } /* Navigation */ ul#mainMenu { list-style-type:none; padding:0px 35px 0px 10px; margin:160px; display:inline; } ul#mainMenu li { text-align:left; float:left; } ul#mainMenu a:link, ul#mainMenu a:visited { background-image:url(Images/bg_2.jpg); background-repeat:repeat-x; background-position:bottom left; padding:0px 35px 0px 10px; border-right:solid 1px gray; text-decoration:none; font-family:Arial Verdana Sans-Serif; text-align:left; text-transform:uppercase; font-size:1em; color:Black; font-weight:bold; display:inline; } ul#mainMenu a:hover { background:url(Images/bg_3.jpg) repeat-x top left; text-decoration:none; font-family:Arial Verdana Sans-Serif; text-align:left; text-transform:uppercase; font-size:1em; color:Black; display:inline; } ul#sideMenu { margin:0; padding:0; list-style:none; width:160px; } ul#sideMenu li { display:inline; } *html #sideMenu a { height:1px; } ul#sideMenu a:link, ul#sideMenu a:visited { background:url(Images/sidebar_1.jpg); background-repeat:repeat-y; border-bottom:1px solid gray; padding:15px 10px 15px 10px; text-decoration:none; font-family:Times Verdana Sans-Serif; text-align:Center; text-transform:uppercase; font-size:.8em; color:Black; font-weight:bold; display:block; } ul#sideMenu a:hover { background:url(Images/sidebar_2.jpg) repeat-y; text-decoration:none; font-family:Arial Verdana Sans-Serif; text-align:Center; text-transform:uppercase; font-size:.8em; color:Black; font-weight:bold; display:block; } Hi all ; I want to have one button in the left side of the div and one in the right side how can I do that . I tried align command but it always aligns in one side . Anyone can help . EX : in the header of this site html forums logo is in the left side and the google adwords are in the right side ... Dear members, I am not very good in HTML programming so please accept my apologizes if my question is very simple. I have a website called loonu.com. In IE7,IE8,Chrome,Firefox,Safari etc.. its mainpage (www.loonu.com) is shown exactly how i want to, whereas in IE6 it looks terrible. My question is, according to your experience is my mistake so obvious because i can not see it. Thanks for your help. Hi ppl I have developed a login page which validates the values from the database. When i log out...the login screen is displayed again.. but if I press Back button in the explorer, the previous logged in page is displayed again.. How do i avoid this problem? I have a photoblog site that I use PixelPost on. I updated the theme and, for some reason, the About page isnt showing the footer like the other pages are. This is how the footer is SUPPOSED to be: http://www.sthompsonphoto.com/galler...owse&pagenum=1 and this is how its displaying on the About page: http://www.sthompsonphoto.com/gallery/index.php?x=about Its all shoved into the main DIV and I cant figure out why. Also, there is a line at the top of the main DIV that wont go away. Im pretty new at all this so Im sure its something that Im overlooking. Any help would be great! Thank you! im completely new to this so forgive me.. this is my test code.. how do i get one div next to another? i want my icons, media, fashion etc.. .JPG on top of each other next to my welcome note.. this is my code Quote: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <div align="center" id="navigation"><img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/news.jpg" width="86" height="15" /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/anastacia.jpg" width="86" height="15" /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/fanzone.jpg" width="86" height="15" /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/graphics.jpg" width="86" height="15" /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/site.jpg" width="86" height="15" /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/internet.jpg" width="86" height="15" /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/refresh.jpg" width="86" height="15" /></div> <div align="center"><br /> </div> <div align="center" id="banner"><img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/bannerp1.jpg" width="720" height="133" /> <br /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/bannerp2.jpg" width="720" height="63" /><br /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/bannerp3.jpg" width="720" height="146" /></div><div align="center" id="welcome"> <div align="center"><img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/welcome.jpg" width="213" height="143"/> </div> <div align="center" id="welcome"><img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/elite.jpg" width="213" height="145"/></div> <div align="center" id="welcome"><img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/topaffs.jpg" width="213" height="309"/></div> <div align="center" id="welcome"> <div align="center"><img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/disclaimer.jpg" width="213" height="229"/><br /> </div> <div align="center"><img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/icons.jpg" width="215" height="18" /><br /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/photos.jpg" width="215" height="17" /><br /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/media.jpg" width="215" height="17" /><br /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/lyrics.jpg" width="215" height="17" /><br /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/fashion.jpg" width="215" height="17" /><br /> <img src="file:///C|/Documents and Settings/Callum/My Documents/verenalay/forum.jpg" width="215" height="17" /></div> </body> </html> heres the problem the pages http://wax-bar.ca/about/index.html and http://wax-bar.ca/contact/index.html wont work in internet explorer. The rest of the website works just those two pages dont work. I would reallly appreciate any help you can provide. thanks in advance! I we see its result we get so much top and bottom space just this code: code: <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#00FFFF"><h1>Hello</h1></td> </tr> </table> I want to remove top and bottom space. any help Hey all, if you go to my blog http://myalternativemind.net I added this code: Code: <div id="nav"> <a href="http://link1.com">link1 title</a> | <a href="http://link2.com">link2 title</a> | <a href="http://link3.com">link3 title</a> </div> And this CSS Code: Code: div#nav { font-size: 15px; margin-top: 10px; padding: 10px; margin: -20px -20px 30px -20px; background-color: #000; } div#nav a { color: #7C7C7C; text-transform: uppercase; text-decoration: none; } But it stretched out the bottom portion of my blog, and made it unreadable. all I was trying to do was add custom links on it. Can anyone check my source and help me out? Thanks. Hello Here i am asking another question :S , anyways i need some help ! so installed SMF (smiple machine forums) to my site and i want to get this slider running http://www.bluedevilcustoms.com/comm...pic,182.0.html There is a guide there but i do not understand as i am learning the basics of web designing at the moment :/ can some one tell me what exactly i have to do here or do it for me ? (Sorry im asking for too much) But i need some help fats PS-You can pm me if you wanna do it for me Thanks a lot Hashen I'm having trouble with the <hr /> tag. Whenever I add them on my page it screws up the scroll bar and the anchors that I have. The scroll bar is really large is if there isn't much text left. Then when you begin to scroll it jumps up, until you get to the bottom of the text. It also screws up my anchors. I know its a problem with the <hr /> tag because when I take them out, the page works fine. The code works fine in FF, but the problem is occurring in IE. Here is the code, I hope you can help. PHP Code: <div id="Main"> <div align="center"><span class="Headline">Transplant Overview</span> </div> <p align="left" class="Sub_Headline"><a href="#History">History</a></p> <p align="left" class="Sub_Headline"><a href="#Overview">Overview</a></p> <p align="left" class="Sub_Headline"><a href="#Sources of Stem Cells">Sources of Stem Cells</a></p> <p align="left" class="Sub_Headline"><a href="#Types of Stem Cell Transplants">Types of Stem Cell Transplants</a></p> <p align="left" class="Sub_Headline"><a href="#Transplant Roadmap">Transplant Roadmap</a></p> <p align="left" class="Sub_Headline"><a href="#Patient Handbook">Patient Handbook</a></p> <hr /> <p align="center" class="Headline2"><a name="History">History</a></p> <ul> <li><strong>1977</strong> - <span class="Main_Text">The first report of remission of autoimmune disease after allogeneic stem cell transplant.</span></li> <li><strong>1997</strong> - <span class="Main_Text">The first MS, lupus, scleroderma and RA patient transplanted</span><span class="Main_Text">.</span></li> <li><strong>2000</strong> - <span class="Main_Text">Clinical evidence of graft vs. autoimmune disease. </span><br /> </li> <li><strong>Today</strong> - <span class="Main_Text">DIAD has transplanted 205? patients for autoimmune diseases (plus 10 for stem cell injection for PVD) </span></li> </ul> <hr /> <p align="center" class="Headline2"><a name="Overview">Overview</a></p> <p class="Main_Text"> Hematopoietic stem cell transplantation (HSCT) is the transplantation of blood stem cells derived from the bone marrow. HSCT allows administration of dose – intensive systemic chemotherapy, a nonmyeloablative conditioning regimen is used for our protocols. A small number of stem cells can replicate to populate a patient’s entire hematopoietic system, therefore primary function of stem cell reinfusion is to restore the ablated immune system and expedite recovery from conditioning. </p> <hr /> <p align="center" class="Headline2"><a name="Sources of Stem Cells">Sources of Stem Cells</a></p> <ul> <li><strong>Peripheral blood</strong></li> <li><strong>Umbilical cord </strong></li> </ul> <hr /> <p align="center" class="Headline2"><a name="Types of Stem Cell Transplants">Types of Stem Cell Transplants</a></p> <ul> <li><strong>Autologous</strong>:<span class="Main_Text"> Patients use their own blood stem cells.</span><br /> </li> <li><strong>Allogeneic</strong>:<span class="Main_Text"> An identical HLA matched full sibling’s stem cells or umbilical cord blood stem cells are used.</span><br /> </li> <li><strong>Syngeneic</strong>: <span class="Main_Text">donor of stem cells is an identical twin. </span></li> </ul> <hr /> <p align="center" class="Headline2"><a name="Transplant Roadmap">Transplant Roadmap</a></p> <hr /> <p align="center" class="Headline2"><a name="Patient Handbook">Patient Handbook</a></p></div> Hi Guys I got a problem I'm trying to embed a html page in my joomla page but it will not fit in right and the colors don't mach this is the page I'm trying to fit in http://www.quebec-ufo-research.com/R...ndex%20QC.html and this is the link where the page should go. http://www.quebec-ufo-research.com/i...id=52&Itemid=2 As you can see the colors are of and the page goes to fare to the right. NowI tried to change the tab to a lower number <TABLE CELLSPACING=1 width="707"> to 200 to check if it would work but it doesn't.Can anyone please help me with this. Thanks |