HTML - Umm Remote Text Files?
Hi
I am building a website with a great number of very similar webpages which all share a common link list running down one side of the page containing 500 links. though this list will only start with one link it will grow over time. updating this list will become increasingly difficult as it grows due to the vast number of pages it will be on. my question is can i create this list in a single location,like in a text or second htm file and request on each of the 500 pages to reference this single location when the page loads. the list links are a standard web link, as such, here followed by the many ghost buttons whioch will over time become real links <a href="001.htm">001</a>: <br> <a href="002.htm">002</a>: <br> <u>003</u>:<br> <u>004</u>:<br> <u>005</u>:<br> <u>006</u>:<br> <u>007</u>:<br> <u>008</u>:<br> <u>009</u>:<br> and so on... so what i expect i need is the code to draw the list from the single source and place this info on each of the 500 pages. Thanks for your time =) Similar TutorialsI don't know if this even belongs in HTML, but my question is whether or not there is any way I can include text seamlessly within a webpage from a remote location, i.e., a text file... I guess... so that it works like an iframe. Or should I just give it up and use an iframe? The website I'm creating is located he freshsession.net23.net Please take a minute to look through it. I know like half the nav links aren't working; that's because I don't know what I want to do for them yet. I haven't done this in years and I've never been that advanced so I'm really rusty. How should I lay this out? The top is going to be a picture that I'm still working on, so ignore that part (obviously the easiest to ignore). I'm just using divs right now, but what I don't like is having to have the same page for every page. I only want the content to change, but for some reason I'm not feeling iframes. But if that's my only option, I'll sure go with it. For the drawings page, I was going to use a gallery script and have them all right there. I want it to be very minimal and simple. Then for the blog I don't really know what to do, and for the guestbook I don't know what to do. Like I said, I want everything to be really nice and simple and preferably integrated. Any suggestions would be greatly appreciated (regarding the layout set up in general, a gallery script, blog, or guestbook, for example). Thanks a lot! Please throw me your tips and ideas! i have a lot of text files(2-400) all have quite alot of text inside them so is there some software that can help me convert it all into html pages?? somthing that i am doing right now is: copied all of my text files pasted them into other location and editing each file and giving extention html/htm. now can u tell somthing better?? all the files will open in same frame(obviously one at a time), all have styling n everything same. I have iframes on my site that link to text files. The problem is when members go to these pages they dont see the latest version without having to frantically press F5, must be a cookies thing? What can i do to ensure the txt file is always the most up to date. Hello, I'd like to display a .txt files contents within a web page or frame but be able to apply css style to the page and .txt file is this possible? and how is it done? Thanks Hey. I'm in need of a program that will go through hundreds of HTML files and delete/edit certain strings of text from the source code. For example: <tr> <td class="thread">Search Forums</td> </tr> <tr> Lets say that that is in the source code of every HTML file I have and I want to replace "Search Forums" with "Search Threads" in every single page without having to manually go through them all. Are there programs that will save me the trouble? Thanks in advance, ~Okin Hello everyone! I am seeking some help for modifying a site remotey/through another site. Basically I have the site completed but there are a few pages that will have constant information changing week to week and I'm only being hired to put the page up initially and there will be virtually no support beyond the finished product. I need two text boxes with vertical scrolling text with information about upcoming events on each side of the website plus i need a dynamic table where they can remove and add new employee's. The people submitting the information will have NO experience with HTML at all. So a website where they could log in and have a few text boxes that they could edit/modify would be perfect. So,I would like a website where they would submit the information and after sending it, it would send the information and fill in the areas the need to be filled in automatically. (News, Updates, Information, Employee Updates, etc.) I'm sure there are some widget that I can implement easily but I just don't know where to look. Any help or advice would be much appreciated. Very similar to whats displayed here. http://www.news-scroller.com/html-scrolling-text.html Thanks ahead of time, Lucid. Hi, I'm new here. Nice to meet all of you, and thank you for bearing with me. I found a free flash panorama viewer, pan0, that I am using to view my own panoramas. The code looks like this (please ignore the emoticon, it came up because a colon and capital D are next to each other in the code): <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%" title="Hello, Panorama"> <embed src="pan0.swf?panoSrc=sample_full.jpg" allowFullScreen="true" width="100%" height="100%" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" bgcolor="#DDDDDD"> </embed> </object> My problem is that I want to use this on blogger, but can't store sample_full.jpg locally on Google. I tried substituting https://path/to/where/my/image/is/stored/on/picasa for sample_full.jpg, but it doesn't work. Is there a way to get this to work on blogger? I see that there are commercial programs that create standalone flash panoramas, but I am not that heavily into it to spend the money. I'd like to create a standalone flash application on my own, if that's possible, or find a workaround. I'm a Linux user, if that matters. Thanks for your help. Hi, I have access to managing a site using Dreamweaver. I need to update a few images and pdf files into a folder located inside the remote view, to be uploaded to the Internet. I can delete the old files from that folder located in the remote view; Can you please explain how do I get the new files inside the remote view so that I can upload them online. I dont have the folders on my deskstop. There is a local view though, but I cannot locate the folder that needs to be updated. Please advise. Thank you I'm pretty new to web design, but I've started making drop down menus using HTML and CSS. I get annoyed that every time I want to change the menu I have to go and change it individually in every single page. I am wondering if there is a way to create the code in an external file and link it into my pages, so that if I want to make a change, I can do it from one central file and have the change appear on each individual page. Is this possible? How can I do this? I need to create a form with a submit button. When pressed, the form will retrieve data (a list of options) from a remote url then display those options in a Select element. Can anyone provide me with any sample code or point me in the right direction for how I should go about achieving this? Thanks, James Hello, Can anybody post a code that will let me embeed remote .FLV video into web page by using IFRAME? Thanks I have a website for my company, and at the bottom I have a clickable button which gives access to "resources" such as manuals and diagrams which is only accessible with a username and password. I would like to add a button that automatically opens the remote desktop connection tool (mstsc) on the users machine, and ideally ammend some of the default settings of this (drives, sounds etc). I have no idea if this is even possible! Any pointers (or a simple NO!) would be great! I want to load a local html file in an IFrame. The main page is loaded from a remote site (http://www.mysite.com). How can I do that if I don't have a web server installed on the local machine? Is there any workaround? Thank you! I have some .tif files that I want to display on my web site but they don't show up. What are my options? Thanks... Hi all, not sure if this is posted in the correct place... please move if not...! I am after some information about how to build OFT (Files Outlook File Templates). I cant find any information about how to build/develop them. It may be pretty straight forward but need some guidance. Any help or pointers would be greatly accepted! Thanks all Hurley! Hello, I need some help to get a HTML file to load from a PHP file. I got a host who cannot use files from PHP, only from HTML and then PHP, so can someone help me to get the register.php to load from a html file? If this is possible I would be thankfull CODE: Code: <?php ################# # # # # # Enjoy! # # # # # ################# include("config.php"); error_reporting(E_ALL ^ E_NOTICE); session_start(); $msg = Array(); $error = Array(); function addUser(){ if (empty($_POST)) return false; global $config, $msg, $error; if (empty($_POST['login'])) $error[] = 'Error, You forgot to enter a account name!'; if (empty($_POST['password'][0]) || empty($_POST['password'][1])) $error[] = 'Error, You forgot to enter a password!'; if ($_POST['password'][0] !== $_POST['password'][1]) $error[] = 'Password does not match!'; if (empty($_POST['email'])) $error[] = 'Please fill in a valid email adress!'; if (!empty($error)) return false; $db = @mysql_connect($config['mysql_host'], $config['mysql_user'], $config['mysql_pass']); if (!$db) return $error[] = 'Database: '.mysql_error(); if (!@mysql_select_db($config['mysql_dbname'], $db)) return $error[] = 'Database: '.mysql_error(); $query = "SELECT `acct` FROM `accounts` WHERE `login` = '".mysql_real_escape_string($_POST['login'])."'"; $res = mysql_query($query, $db); if (!$res) return $error[] = 'Database: '.mysql_error(); if (mysql_num_rows($res) > 0) return $error[] = 'Username already in use.'; //Modified by Jerq $query = "INSERT INTO `accounts` (`login`,`password`,`lastip`, `flags`) VALUES ('".mysql_real_escape_string($_POST['login'])."', '".mysql_real_escape_string($_POST['password'][0])."', '".$_SERVER['REMOTE_ADDR']."','".mysql_real_escape_string($_POST['tbc'][0])."')"; //Modified by Jerq $res = mysql_query($query, $db); if (!$res) return $error[] = 'Database: '.mysql_error(); $msg[] = 'The Account <span style="color:#00FF00"><strong>'.htmlentities($_POST['login']).'</strong></span> has been created!'; mysql_close($db); return true; } { addUser(); } ?> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Account Registration Page</title> <meta http-equiv="Pragma" content="no-cache"/> <meta http-equiv="Cache-Control" content="no-cache"/> <style type="text/css" media="screen">@import url(server_stats.css);</style> <!--[if lt IE 7.]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]--> </head> <body> <center> <div class="logo"></div> <div style="width:300px"> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> <table width="100%" border="0" cellspacing="1" cellpadding="3"> <tr class="head"><th colspan="2">Account Creation</th></tr> <tr> <th>Username: </th><td align="center"><input class="button" type="text" name="login" size="30" maxlength="16"/></td> </tr> <tr> <th>Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td> </tr> <tr> <th>Retype Password: </th><td align="center"><input class="button" type="password" name="password[]" size="30" maxlength="16"/></td> </tr> <tr> <th>E-mail: </th><td align="center"><input class="button" type="text" name="email" size="30" maxlength="30"/></td> </tr> <!--Added by Jerq--> <th>Account Type:</th><td align="center"> <select name="tbc" type="select"> <option value="0">Normal</option> <option selected value="8">Burning Crusade</option> </select></td> <!--Added By Jerq--> </table> <input type="button" class="button" value="Back" onClick="history.go(-1)" /> <input type="submit" value="Create" class="button"/> </form> <?php if (!empty($error)){ echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td class="error" align="center">'; foreach($error as $text) echo $text.'</br>'; echo '</td></tr></table>'; }; if (!empty($msg)){ echo '<table width="100%" border="0" cellspacing="1" cellpadding="3"><tr><td align="center">'; foreach($msg as $text) echo $text.'</br>'; echo '</td></tr></table>'; exit(); }; ?> </div> </center> </body> </html> THE CONFIG.PHP: Code: <?php ################# # # # # # Enjoy! # # # # # ################# $config['mysql_host'] = 'wowserver.serveftp.com'; //MySQL Host $config['mysql_user'] = 'root'; //MySQL Username $config['mysql_pass'] = 'wHoSYoURDaDy65'; //MySQL Password $config['mysql_dbname'] = 'antrix'; //Database Name ?> hi guys.. hope sm1 gonna sort out my problem i am just a beginner to html script,and my problem is that i smhow manage to get script to include media player into my webpage but i am not able to add song file into in it for e.g if i want to add akon.mp3 or any other song i am not able to do it hope sm will help me thanx in advance script is here Code: <!-- Multi WM Player at www.rainbow.arch.scriptmania.com/scripts/music/ --> <OBJECT ID="music" height=70 width=230 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=,1,52,701" standby="Loading Microsoft Windows Media Player components..." <!-- Change to value=0 to hide status --> <param name="ShowStatusBar" value="1"> <param name="AudioStream" value="-1"> <param name="AutoSize" value="0"> <param name="AutoStart" value="-1"> <param name="AnimationAtStart" value="-1"> <param name="AllowScan" value="-1"> <param name="AllowChangeDisplaySize" value="-1"> <param name="AutoRewind" value="-1"> <param name="Balance" value="0"> <param name="BaseURL" value> <param name="BufferingTime" value="5"> <param name="CaptioningID" value> <param name="ClickToPlay" value="-1"> <param name="CursorType" value="0"> <param name="CurrentPosition" value="-1"> <param name="CurrentMarker" value="0"> <param name="DefaultFrame" value> <param name="DisplayBackColor" value="0"> <param name="DisplayForeColor" value="16777215"> <param name="DisplayMode" value="0"> <param name="DisplaySize" value="0"> <param name="Enabled" value="-1"> <param name="EnableContextMenu" value="-1"> <param name="EnablePositionControls" value="-1"> <param name="EnableFullScreenControls" value="0"> <param name="EnableTracker" value="-1"> <param name="Filename" value> <param name="InvokeURLs" value="-1"> <param name="Language" value="-1"> <param name="Mute" value="0"> <param name="PlayCount" value="1"> <param name="PreviewMode" value="0"> <param name="Rate" value="1"> <param name="SAMILang" value> <param name="SAMIStyle" value> <param name="SAMIFileName" value> <param name="SelectionStart" value="-1"> <param name="SelectionEnd" value="-1"> <param name="SendOpenStateChangeEvents" value="-1"> <param name="SendWarningEvents" value="-1"> <param name="SendErrorEvents" value="-1"> <param name="SendKeyboardEvents" value="0"> <param name="SendMouseClickEvents" value="0"> <param name="SendMouseMoveEvents" value="0"> <param name="SendPlayStateChangeEvents" value="-1"> <param name="ShowCaptioning" value="0"> <param name="ShowControls" value="-1"> <param name="ShowAudioControls" value="-1"> <param name="ShowDisplay" value="0"> <param name="ShowGotoBar" value="0"> <param name="ShowPositionControls" value="-1"> <param name="ShowTracker" value="-1"> <param name="TransparentAtStart" value="-1"> <param name="VideoBorderWidth" value="0"> <param name="VideoBorderColor" value="0"> <param name="VideoBorder3D" value="0"> <param name="Volume" value="0"> <param name="WindowlessVideo" value="0"> <EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" SRC="http://myserver/mypath/myfile.asf" name="MediaPlayer" height=70 width=230> </EMBED> </OBJECT> </div> <p> <BR> <INPUT id=song1 onclick=document.all.music.filename=document.all.song1.value; TYPE="RADIO" NAME="Music" VALUE="http://www.uploadhut.com/id153745/Crazy Frog Remixx ( WARNING VERY FUNNY!!).WAV"> Song 1</p> <p> <INPUT id=song2 onclick=document.all.music.filename=document.all.song2.value; TYPE="RADIO" NAME="Music" VALUE="http://servername/path/to/media.file"> Song 2</p> <p> <INPUT id=song3 onclick=document.all.music.filename=document.all.song3.value; TYPE="RADIO" NAME="Music" VALUE="http://servername/path/to/media.file"> Song 3</p> if i choose song 1 it should play akon.mp3 and so on...... plz help me Open Mozilla Firefox and go to this site: http://www.mm-theory.com Scroll down a bit until you see a table titled "Download PDFs" on the left-hand side. Click any one of them. Does anything happen, or do you get what I get: a blank window? Explorer doesn't seem to have this problem. I click on any of the links, I get the option to either open the PDF file in the browser or download it. If I choose to open in the browser, it does just that. Why would it not do the same in Firefox? The code for the links are as follows: Code: ... <tr><td class="PDFs"><a class="PDFs" href="../PDFs/Website Introduction.pdf">Website Introduction</a></td></tr> <tr><td class="PDFs"><a class="PDFs" href="../PDFs/Preliminary Concepts.pdf">Preliminary Concepts</a></td></tr> ... Thanks for any forthcoming help. Hi all. I am redoing my homepages but have a problem that is driving me sane! A set of files work perfectly when checked by Firefox on my computer. When that same set of files are uploaded to the Homepage a few (not all) embedded jpgs do not appear, though their titles do. The files are not corrupted, I have checked. The jpg's are right there where they belong. To see the effect the Url is. http://homepages.ihug.co.nz/~Sspinett/Index.html Internet Explorer 7 has the same result Cheers. Pete. I have some text embedded within a '.gif' file and dont know how to change the text. I downloaded Adove Photoshop Elements 6.0 but when i use the horizontal type tool and type over the text, it makes the original text fuzzy and does not enter the new text. What am i doing wrong ? Thanks |