Programming :: Resizing An HTML Entrance Page?

Jan 2, 2010

I have created a website for a guy with an entrance page. I have written the entire site in PHP excluding the entrance page which is in HTML. The entrance page is literally just an image they drew up and I placed a link in. The problem is that the image is HUGE. I would like to know if there is any way (use JS, PHP, CSS, or whatever) to make this image either auto fit the screen/window or at least auto fit in a range of resolutions? Because if you have a small monitor then you wouldn't even see the actual graphic, just the border.

View 10 Replies


ADVERTISEMENT

Programming :: Php Not Running In Html Page?

May 22, 2010

I have an HTML page that I want to run some PHP code. I found several "How tos" about this but I can't get it to work. The code is very simple:

Code:

cat test.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

[code]...

View 14 Replies View Related

Programming :: Eclipse Run Configuration For An HTML Page?

Aug 14, 2010

How can I create a Run Configuration for html page with no http server (e.g. Tomcat)? I want to debug javascript so I need not a server.

View 2 Replies View Related

Programming :: How Proxy Server Get Html Page From Internet

Jun 15, 2010

im making client(browser) and proxy server application in linux and using c/c++....can any one guide me that how proxy server get page from internet and send it to the client (browser)?and how that page will be displayed on my browser??meanz that will be only text...if text then how i can display graphical page....

View 3 Replies View Related

Programming :: Passing Parameters From Cgi Script To Html Page?

Jan 17, 2010

I have the following problem. I have my script /usr/lib/cgi-bin/login.cgiand two page in /var/www, home.html and welcome.html.When I log in /var/www/home.html with email and password, then login.cgi to extract exact user informations from mysql. Now I'd like start welcome.html page from login.cgi and passing user informations trought parameters

View 4 Replies View Related

Programming :: Perl Script To View Normal Html Page

Mar 29, 2010

Can anyone please help me write a perl script to view normal html page.

View 5 Replies View Related

Programming :: Talented Coder To Program Bash / Perl App That Plays SWF On HTML Page?

Feb 10, 2011

Everyone knows that it is like impossible to use mplayer to watch an *.html file. OK.

For instance here is a cool example of lot of streaming for firefox
http://watchtvlivestreaming.com/tvlive/b5499

Code...

Anyone is there a talented bright coder, coming from hell -because it is really difficult, to make such console program ?

View 1 Replies View Related

Ubuntu :: Build Index.html Into A Full Html Page

Mar 9, 2010

I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?

View 9 Replies View Related

Fedora Servers :: Copied The Web Page Files To Its Document Root <var/www/html> & Disabled The Default Web Page?

Jun 8, 2009

I have apache httpd server on my Fedora 10I got 2 problems:First : I copied the web page files to its Document Root <var/www/html> & Disabled the default web page. But when I visit http:/localhost ,it shows up the list of files in <var/www/html> as if a ftp server browsed in web page. So how can I set http://localhost load my default web page index.html ?Second :I want to set up a web server on Internet through my router . I applied for DDNS account & input it into router correctly . I set virtual host in server to redirect any access from port 80 to 192.168.1.2:80 in LAN . Just for in case , I also download and running the DDNS software & installed it on PC 192.168.1.2 in LAN . My DDNS provider is oray.cn . It's a Chinese server provider . I don't think there is anything wrong with oray.cn . But if you need its information just visit oray.cn (Google can translate it for you). So I want to know did I miss something to set up a web server in this kind of situation

View 2 Replies View Related

Programming :: Client Side To Include HTML Within HTML?

Sep 12, 2009

what is the best way (i.e standard way that is supported on all browsers and probably as well followed by web crawlers).... to include an html file either locally or externally in another ? Of course , i've done the research and i also know that there are server side includes (php , asp ...you name it) at the moment , i'm using this:

Quote:

<script type="text/javascript" src="path to file/include-file.js"> </script>

however, i've been warned that this method may not show up in some browsers as some tend to ignore this tag and that crawlers like your favorite search engine wouldn't bother reading this. so , what is the best and safest way to do the job? and btw , the reason why i've ousted SSI's from the start is because of among other things:

1) the fact that the included file is static html and because the text is included pretty much everywhere

2) hoping to reduce load time as the code (if successfully recognized) would hopefully be treated like any other embedded external file (e.x like an image) , therefore it would be cached without the need to downloaded it over and over again for each new page on the site.

View 1 Replies View Related

Debian :: Direct Port To HTML Page?

Oct 16, 2010

how exactly would you open a port and point it to an html page, like port 80 does by default?

Example: Port 2985 -> ./var/www/login/index.php

View 5 Replies View Related

Software :: Print Web Page (.html) Provide By Web Servers

Jan 11, 2010

Ubuntu 8.0.4,GnomeDesktop with firefox (we are going to use) Epson Thermal printer(M-T500 Thermal Printer) [URL]... without linux driver,provide serial port ctrl. I get the command manual(pfd).I can test the command by run minicom however. I want to print the Web page (.html) provide by our web servers.Those pages have a js-button(javascript) each with the function that the firefox/or (custom) app demo is called to print the line/table/div/etc (not the whole page,like the receipt) after the js-button is pressed. There is a window showing the print-progress info will be better when it is printting. I just try to find the best way to do this: I got ghostscript after search by google but it is just used for pfd print or something. So How can I just implment this?

View 1 Replies View Related

Software :: Execute A Shell Script From A Simple Html Web Page?

Mar 11, 2010

I wish to execute a shell script once a button on my html page is clicked.

View 7 Replies View Related

Ubuntu :: WGET - Download HTML Page In One Directory And Other Elements In A Subdirectory?

Mar 12, 2010

i'm using wget with this parameters:

wget -E -H -k -K -p -nH -nd -Pfolder http:\www.mysite.com

using this parameters the main html page and all the images will download in the same folder. Instead i would like to have the html page in a folder and all the images,css ecc in a subdirectory for example i want to have:

c:foldermain.html
c:foldersubfolderimage.jpg
c:foldersubfolderimage2.jpg
c:foldersubfoldercss.css

It's the same that mozilla firefox do when i save a html page on local machine ("save page as" on file menu) Which parameters do i have to use?

View 1 Replies View Related

Ubuntu Servers :: Apache - Index.html Suddenly Became Blank Page

May 20, 2010

Today, the power was suddenly cut off in my house, then my home Ubuntu Server restarted after the power on, but when I use my laptop to view my wesite, the index.html suddenly became blank page, I did clear the firefox cache, doesn't work, still blank, and I changed browser, to seamonkey, the index.html still was blank, so, I am sure that the problem is coused by the server, and then, I put the index.html file to a subdirectory, which under the /var/www/home/index.html, and then I put the address < [url] > ,then,I can view my website the main page index.html.

View 2 Replies View Related

General :: Create A HTML Page To Hide The Running Process Of Software?

Jul 7, 2010

1. I need help to create a interface to run software.2. The software is running at the back

View 4 Replies View Related

General :: Using Lynx To Create Html Page With The File Structure Of A Local Directory

Oct 10, 2010

I'm working with a dual-boot laptop running Ubuntu 10.0/Windows 7 and a Debian 5 VPS while the OS's shouldn't have much impact on my question.

What I would like to do is create a html page that I can upload to my VPS which lists all of the files/folders on my local 2TB hard drive (Specifically media such as Movies, Music, TV Shows...). The media obviously will not reside on the server, but I would like to at least have a list which will allow me to select, for instance, a bands artist so that it redirects me to the albums in the directory below.

Ultimately, I'm looking for Open Directory Browsing without actually having the media on my server. I have been attempting to create something to this effect using lynx, however, I'm not sure if it can be done with this command or if it's even possible for that matter.

View 1 Replies View Related

Programming :: Executing Commands From Web Page And Outputing It Back To The Web Page?

May 8, 2009

wanted to know if i can execute commands on linux console through a web page and redirect it back to my web page !For example :if i send a query "ls"it should execute this command on my linux console and also redirect the list of the files to the web page from which i give the command !

View 8 Replies View Related

Ubuntu :: Resizing Windows In Evolution \ Resizing Doesn't Work And It Only Moves Horisontally, Not Vertically?

Oct 28, 2010

maybe this is something extremely simple and my brains are just mush after a whole night of struggling (and succeeding) with wifi driver issues.i'm running a brand new 10.10 netbook on a brand new asus eee 1015. i am trying to set up my email in evolution and the evolution windows are larger than the netbook screen, which means that the OK, SAVE, etc buttons are outside reach. i tried to resize, move window - resizing doesn't work and it only moves horisontally, not vertically.

View 9 Replies View Related

OpenSUSE :: Set A Local Html Page As The Desktop As In Active Desktop In Windows?

Feb 4, 2010

is it possible to set a local html page as the desktop as in active desktop in windows.

View 1 Replies View Related

Server :: Parse The Bunch Of Values Displayed By The Socket Program Into The Php File So That Further It Can Be Displayed In HTML Page?

Apr 15, 2011

How to parse the bunch of values displayed by the socket program into the php file so that further it can be displayed in HTML page

View 1 Replies View Related

Programming :: Intersperse The PHP With HTML?

Sep 21, 2010

In my site, I have a "Make A Friend" link, which will lead to a page where the user has to input their username and password, to identify who they are. The link is like so: "makeafriendlogin.php?person=26", to identify the person who is going to *making* the friend. When the Submit button on the login page is clicked, the "person" argument has to be transmitted to the script that handles it (makefriend.php). This is how I'm going to lay out the "makeafriendlogin.php" script:

<form method="post" action="makefriend.php">
<input name="username" type="text>
<input name="password" type="password">
<?php

[code]....

My probem is with the "<input name="author" type="hidden" value="$author">" line - unless I put it within <?php and ?> tags, the "$person" won't be parsed, but at the same time, it's HTML, not PHP.... so I can't figure out what to do. Should I put it in a "print" statement?

View 1 Replies View Related

Programming :: How To Use Html Version Of Patches

Dec 4, 2010

I am currently following the instructions from the Linux From Scratch book and have made it to the downloading of the patches.There are links to all of the needed patches but when you click them, instead of downloading a file like I expected, it takes you to an html page displaying (I'm guessing) some sort of programming or scripting language. Link to the page with the all the patch download links. From there instead of downloading the file it displays its contents.

- www
- (period)linuxfromscratch
- (period)org
- /lfs/view/stable/chapter03/patches
- (period)html

(had to break it up because the forum won't allow me to post links yet ) My question is: What do I need to do with this text? Do I copy and paste it into a text file? Are there certain extensions that I need to append to the text files?

View 3 Replies View Related

Programming :: Done To Convert Html Pages To Pdf ?

Jan 1, 2011

Im new to linux Iam pursuing bachelors in computer science engineering.... my final year project is to develop a "html to pdf converter using linux"... i have some basic knowledge of commands used in unix

1) Where can i get the basic idea about the existing converters... their pros and cons...
.... programming...

2) Any kind of material or source where i can get basic idea of programming used for converting html pages that are linked into a single pdf..

View 1 Replies View Related

Programming :: Can't Get HTML Canvas To Work In IE?

Jan 1, 2011

Does anyone know how to get HTML5 canvas to work in Internet Explorer? I tries to do it using excanvas and jqcanvas but had trouble using them.

View 11 Replies View Related

Programming :: CSS - Put Several Lines Of HTML Into One Line Using CSS?

Dec 14, 2008

I've got a website set up which has a section which is just a bunch of links on the side. But this section of links is on every page of the website. And when I expand and add more links I don't want to have to go to every page and add the new link. Is there a way that I could put all the links into something on CSS (or anything else) that I could just include one line in the HTML? So that when I add a link I'll only have to edit the one file and and then every page will be updated?

View 12 Replies View Related

Programming :: Put All The HTML In A Print Statement?

Sep 14, 2010

I have a site which will have, for example, a login system where people have to enter their usernames and passwords, depending on which they'll be let in to the site. So, in code, I've got a line like:

if ($_POST['password'] == $password) {
then do whatever
}
else { print "Wrong password" ; )

My problem is, this "Wrong password" printing is just a solitary line, not keeping with the colours and style of the site, and it looks very bad. I want to ideally, output some HTML, which will have a picture, and print the "Wrong password" in the font and colours I desire. Do I have to put all the HTML in a print statement, and then deal with the nightmare of escaping all the quote marks in it with a ""? Or is there a cleaner method to the whole thing? Maybe something like this -

if ($_POST['password'] == $password) {
then do whatever
}

[code]....

View 4 Replies View Related

Programming :: HTML To PHP To EXPECT Formatting?

Apr 13, 2011

I wrote an expect script that tests user authentication against a RADIUS server. The username is an email address, including an @ sign. I recently wrote an HTML/PHP front end to allow others to input username/password into a form and then see the results when they hit submit. Expect code that takes two args username, and password

Code:

expect "#"
send "test aaa group radius [lindex $argv 0] [lindex $argv 1] new-code
"expect "#"

[code]....

Every works as it's supposed to, except for the output of the script. When it displays on the webpage, it's segmented weirdly with  all throughout. What I've found is when I remove the @ sign in the username input, it fixes it. Is there any part of HTML or PHP that treats the @ as a special character? 1 more thing is that I have another HTML/PHP/EXP script that works fine with the @.

View 2 Replies View Related

Programming :: Parameter Passing In The HTML?

Jun 11, 2010

If I have the following links in HTML

Code:

<a href=lang.php?lang=cymraeg>Cymraeg</a>
<a href=lang.php?lang=english>English</a>

and lang.php has a link to page2.html, how do I pass on the value of the lang parameter from lang.php to page2.html? The value needed is the one passed in to lang.php.

View 3 Replies View Related

Programming :: Cutting An Html File Apart - Perl - Sed - Awk?

Apr 13, 2010

I have an html file like this

HTML Code:

Some more HTML code... I would like to cut the above text so i get this: Sometext on multiple lines like this.Sometext on multiple lines like this.Sometext on multiple lines like this. Sometext on multiple lines like this.Sometext on multiple lines like this.

There are other HTML files with similar cuts I need to do, but once I have the method for doing one, I am sure I can do the others.

I think the two logical strings to cut between would be:

I am not sure if these strings are always the start and end of the line respectively, is this makes a lot of difference! Then the HTML tags would need to be stripped to get the text on its own.

I know the commands for removing tags, but searching for a string like class="IOSSectionTitle", and cutting everything before it etc is something I am finding challenging.

Just thought I would add that the HTML does not nec. appear on logical new lines throughout the file and there may be unexpected new lines, but as far as i know the class="IOSSectionTitle" and <img always appears as a string without any new lines between those characters.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved