Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

601.

Solve : Call to undefined function mssql_connect()?

Answer»

Good day!

I change my database from sql yog to SQL Server 2005 Express so in php the connection is different, so now I am new in SQL Server 2005 Express. i edit my login page and I encountered error:

Fatal error: Call to undefined function mssql_connect() in C:\Inetpub\wwwroot\web_intranet\index.php on line 14

here is my code:
Code: [Select]<?php   
session_start();   
session_regenerate_id();   

if($_SESSION['loggedin']){   
//the USER is already logged in, lets redirect them to the other page   
    header("Location:company.php");   
}   

//require_once 'conn.php';     
$server = "PDOMAIN\MSFW";  
$db_name="dspi";   

mssql_connect($server) or die("Cannot connect to server");   
mssql_select_db("$db_name")or die("Cannot select DB");      


        $department = $_POST['department'];      
        $username = $_POST['username'];   

        $sql=mssql_query("SELECT `Department`, `Username` FROM `tbllogin` WHERE `Department` = '{$department}' AND Username = '{$username}'") or die(mssql_min_error_severity());   
        $ct = mssql_num_rows($sql);   
        
        if($ct == 1) {   
// im guessing this means that the user is valid.   
$_SESSION['loggedin'] = true; // now that the user is valid we change the session value.   
            $row = mssql_fetch_assoc($sql);     
              
            //$_SESSION['username'] = $row['Username'] ;  
            //$_SESSION['department'] = $row['Department'];  
              
            $Departments=array('Accounting', 'Engineering', 'Finishing_Goods', 'HRAD', 'MIS', 'Packaging_and_Design', 'Production', 'Purchasing_Logistic', 'QA_and_Technical', 'Supply_Chain');  
              
            if (in_array($row['Department'], $Departments)){  
                    header ('Location:company.php');  
            }else{  
                    echo "Incorrect Username or Department";  
                    header ('Location:index.php');  
            }  
        }  
?>

By the way i use Windows Server 2003, IIS, php 5.2.14, and SQL Server 2005 Express
I already configure the php.ini to READ mssql.
I also check if I have ntwdblib.dll and i have it.
but still i cannot connect to sql.First, the "ntwdblib.dll" is outdated and was deprecated when SQL server 2000 was released. There is a SQL server 2005 driver for PHP:
SQL server 2005 driver for PHP


you can try changing  PHP from ISAPI MODE to FastCGI mode.

1. Install FastCGI for IIS6.
2. Modify your PHP install so it runs in FastCGI mode.


3.Open fcgiext.ini and add this to the end:

Code: [Select][Types]
php=PHP

[PHP]
ExePath=c:\PHP\php-cgi.exe
InstanceMaxRequests=10000
EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000


4) Add cgi.force_redirect=0 to the "; Default timeout for socket based streams (seconds)" section of PHP.ini.
5) MAKE sure your SQL database is set to Windows authentication mode and switch mssql.secure_connection in php.ini to on.
6) CREATE an SQL login for NT AUTHORITY\NETWORK SERVICE and give it the appropriate permissions to your database.
7) Reboot the server.


Source: Comments on the mssql_connect() function documentation, .

602.

Solve : My First website?

Answer»

Hello guys!

 As the title states, I am in the process of creating my first website and had a few questions for some of the pro's out there.  This website will be more complicated than a simple blog. It will have some common features like a forum, but I would also like users to be able to submit content like videos or music to my site. Security is also important.

I have no real education or experience in web languages, and though I would love to learn how to build it from scratch, I am wondering if that is really a waste of time at this point.  Websites like Joomla or asp.net seem pretty user friendly, but will I have the control over my website to add and create features or functions that don't come with those tools?  Or is the "best" way to open notepad and hard code EVERYTHING in. 

Would any of you recommend that I outsource this project?  I have looked into scriptlance, and though I will put up the money if I need to, I also don't mind putting in some hours on my own to figure this stuff out.  I just don't want to spend 6 months on this and have nothing to show for it except for some cheap broken site due to it being such a huge project to someone with no prior skills.

Right now I have a small notepad file I am working on and I am fumbling through simple design material slowly and painfully.  What do you recommend I do to continue this project?

THANK you, I look forward to the replies.Welcome to the forums.

The project you want to take on is possibly a lot bigger than you think. If you are willing to put in time to learning web languages, I'd suggest learning, in this order, (X)HTML, CSS, Javascript, PHP and maybe XML.

Quote

I am wondering if that is really a waste of time at this point.
There will always be room for new social networking websites as long as it has something the other's haven't. If you plan on the site getting relatively big, then you'll have to think of the business SIDE of things also like monetizing the site, advertising, marketing etc.

Quote
Websites like Joomla or asp.net seem pretty user friendly, but will I have the control over my website to add and create features or functions that don't come with those tools?
You're getting a bit mixed up. Joomla is a content management system (others include Drupal, Wordpress) and ASP.NET is a programming language (main rival is PHP) developed by Microsoft. All the MS website uses ASP. Joomla, Drupal and Wordpress are popular content management systems which are free to download and install. They (Joomla especially) allow you to customise your website and you can download user-contributed addons for them also.

Quote
Or is the "best" way to open notepad and hard code everything in.
Personally I would do it this way. But it takes a lot longer and there is only ONE pair of eyes looking at the code, whereas the CMS' I mentioned above are open source, so thousands of developers are involved. This means that any security hole found is patched within hours. To put it into perspective, there are 1058 PHP files working together to make Joomla operate, so I'll leave it to you to work out how long it could take.

Quote
Would any of you recommend that I outsource this project?
I'd imagine it would be fairly expensive to do so, but I'm not sure, depending on how much work you put in.

Quote
What do you recommend I do to continue this project?
As I said, there is room for more of these-type sites but they just need that extra touch to become popular, along with plenty of motivation to make it happen. If you're looking to get rich quick however, I'd suggest throwing the notepad in the bin. I am currently Building my third website at the moment and the best place to start is by visiting w3schools website ,that's were i learnt HTML and php.
I know that you can get html templates from lots of sites that you can customise but the best way is to do it from scratch.
download notpad++ it has the option to chage the language to html which makes it easyer to understand what you are writing.
Thank guys, I am looking into some of these things.  I appreciate the help.
Quote from: silverpersian on August 19, 2010, 06:03:05 AM
download notpad++ it has the option to chage the language to html which makes it easyer to understand what you are writing.
Yes, if you decide to take the do-it-yourself approach and just use a text editor to do the coding, be sure to get Notepad++.  It makes web page coding easier than just using Notepad.  One example of how it makes web page development easier is that you can work on multiple web pages in Notepad++ at the same time; each page is a tab in Notepad++.  And, like the Firefox web browser, when you close Notepad++ with multiple tabs open, Notepad++ will open those tabs, i.e. your page files, again the next time start Notepad++ and you can resume from where you stopped during your previous session. Quote from: soybean on August 20, 2010, 07:32:43 AM
Yes, if you decide to take the do-it-yourself approach and just use a text editor to do the coding, be sure to get Notepad++.  It makes web page coding easier than just using Notepad.  One example of how it makes web page development easier is that you can work on multiple web pages in Notepad++ at the same time; each page is a tab in Notepad++.  And, like the Firefox web browser, when you close Notepad++ with multiple tabs open, Notepad++ will open those tabs, i.e. your page files, again the next time start Notepad++ and you can resume from where you stopped during your previous session.

Yes I have already downloaded it.  Coming from regular notepad, this is a luxury.  Thanks for the advice.

I think I am going to learn HTML, CSS, and JS (maybe PHP).  I want to be able to create simple pages rather comfortably using just those tools.  Then I think I will learn ASP.NET/MVC in C#.  This SEEMS like a great way to create a secure website and have lots of options for design and functionality; and there seems to be a lot of support for me going that route.

We shall see.  printer cartridges
I like notepad++ too. I find it very handy and Alleycode HTML editor is pretty good too. I never use the regular notepad anymore. Another thing that is very handy is Tab Mix Plus because you can customize your Firefox tabs in a lot of different ways. According to the Tab Mix site:

"It includes such features as duplicating tabs, controlling tab focus, tab clicking options, undo closed tabs and windows, plus much more. It also includes a full-featured session manager with crash recovery that can save and restore combination of opened tabs and windows."

I've been using it for awhile now and it's pretty good so far.pspad is another decent text editor too.  If its your first website why not use this site http://www.google.com
It is very simple
Looks professional
Can be tweaked ALOT
and is free!!!

No spam, thanks --kpaci recommend the w3 school site
603.

Solve : about javascript?

Answer»

how to make slideahow with javascript?I don't know how your layout is, but try this.

Code: [Select]<script TYPE="text/javascript">
<!--
var Current_Picture=0;
//TIME to show each slide for in seconds
var ShowSlideFor=3;
var Repeat=false;
function ChangePicture() {
  //Add all your pictures here, relative location from the page in which the script is on or exact location
  var Pictures=new Array("picture1.jpg", "picture2.jpg", "etc");
  if (Current_Picture >= Pictures.length) {
  if (Repeat) {
  Current_Picture=0;
  }
  else {
  return;
  }
  }
   //Edit this if you want certain styles, sizing, etc.  Make sure to escape your quotes (by using the backslash and the quote \" )
  document.getElementById("picturediv").innerHTML="<img SRC=\"" + Pictures[Current_Picture] + "\" alt=\"Picture "+ Current_Picture + "\" />";

  Current_Picture++;
  var theTimeout = SETTIMEOUT("ChangePicture()", ShowSlideFor*1000);
}
//-->
</script>

and the body tag should look like this:

Code: [Select]<body onload="ChangePicture()">
and this div tag goes whereever you want the picture to appear.

Code: [Select]<div id="picturediv"></div>
That's not really a slideshow, or at least an advanced one, it just cycles through pictures at an even interval (set by you) and will repeat if asked to.What trevorpe says is good.

If you also want a fade-in-and-out, you'll need to look into doing something like:

Code: [Select]function fadeIn(objectID) {
    object = document.getElementById(objectID);
    object.style.opacity = '0';
   
    animatefadein = function() {
       
        if( object.style.opacity < 1 ){     
            var current = Number(object.style.opacity);     
            var newopac = current + 0.1;
            object.style.opacity = String(newopac);   
            //object.style.filter = 'alpha(opacity=' + String(newopac) + ')';
   
            setTimeout("animatefadein()", 50);
        }       
    }
   
    animatefadein();
}
And CALLING it as appropriate.

604.

Solve : Can you dictate with HTML??

Answer»
They say HTML doesn't dictate how a browser will display a page precisely, because of the numerous PLATFORMS and ability for users to change their browser settings and OVERRIDING CSS stylesheets.

Does this mean that if two people who have the same browser with the same settings, the same monitor, the same fonts and one person gives his website to the other, they will have different, not exactly the same 100%, displaying pages?

I'm trying to grasp what they mean by 'you can't dictate how pages will look like'.
I understand that that's because of the varying USER settings and overriding options,
but what if users just happen to have a common, default setup?

How does the system work?



Quote
I'm trying to grasp what they mean by 'you can't dictate how pages will look like'.
Who's "they"?The web environment you've described is why web designers should test their web pages using different monitor resolutions and different web BROWSERS. How ELSE will you know for sure that your pages will display as you want when viewed by visitors to your website?
605.

Solve : Flash Banner Won't Show (on Blogspot w/ Anim-FX)?

Answer»

I'm trying to get a flash banner to work on my website (on blogspot). I have another flash banner with a swf file going, but I can't install another that is created by a program called Anim-FX. They've given me an html file, a swf template, and a text file. I'm meant to use all three of these for the desired effect. Since blogspot has no directory, I'm using my dropbox account to store the swf and txt file. I assume the html goes into my blogspot template.

Is there any way for me to get this to work? I'm hoping what's impossibly hard for me is easy for someone out there. Here's what I've tried so far... Thanks for your time.


I've placed this code into my blogger html template:
Code: [Select]<script src='http://dl.dropbox.com/u/5739741/flash/cybertrick.txt ' type='text/javascript'/&GT;

And this is the code I've placed within an html widget:
Code: [Select]<object classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000
codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,2,0
width=500
height=100>
<param name="movie" value="http://dl.dropbox.com/u/5739741/Flash/cybertalk.swf" />
<param name="quality" value="HIGH" />
<param name="BGCOLOR" value="#000000" />
<param name="SCALE" value="showall" />
<embed src=http://dl.dropbox.com/u/5739741/flash/cybertalk.swf
quality=high
pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?p1_prod_version=shockwaveflash type=application/x-shockwave-flash
width=500
height=100
bgcolor=#000000
scale= showall>
</embed>
</object></script>

The files I have in my dropbox account are as follows:

http://dl.dropbox.com/u/5739741/Flash/cybertalk.swf

http://dl.dropbox.com/u/5739741/Flash/cybertalk.txt

http://dl.dropbox.com/u/5739741/Flash/cybertrick.txtYour JavaScript files shouldn't have txt extensions.

Rename the file 'cybertrick.txt' to 'cybertrick.js'

The issue is dropbox, which your hosting the scripts on, might not accept JS files to be uploaded due to security - as they could be malicously executed. You would NORMALLY have your own host.

You shouldn't really need any javascript for a flash file to work anyways unless it's linked for license purposes or something?

The code within the html widget look fine.

However, loading the file 'http://dl.dropbox.com/u/5739741/flash/cybertalk.swf' directly just comes up with a black screen, so I don't believe it's created correctly.Yea, it's a weird program that generates html, a swf template file, and a text file... then asks you to "uploaded both the SWF and the text file to the same directory".

I mean, the preview of the final product looks amazing and it was super easy to get to that point, but now it's just impossible. They gave me no javascript and I can't link the swf directly, and what's worse is that MANY people seem to be loving the program and using it with no problem.

Frustrating, to say the least. Thank you for your response. Any extra light would be great. http://www.anim-fx.com/ is the site.

You might need to find another program which is a freebee or register Anim-FX...

The review says:
Quote

Anim-FX claims to help you create ANIMATED text effects such as Flash introductions and animations, but it's difficult to evaluate its claims because the trial version disables most functions. The only things you can do in the trial program are add text, change its color and position, look at the different animation themes, and close the program. The limitations are particularly vexing because the procedure for saving and uploading your animations appears to be slightly complicated, and those features are not available in the trial version.


It's not anything your doing wrong, but the application limitations for trial version?

Free to try (Save-disabled) Yea, I'm registered (paid in full). Maybe I need to provide that info within the program somehow. Thanks.
606.

Solve : HTML extensions: yes or no??

Answer»
Introduction
I have read that using extensions to HTML (particularly done in the past by Netscape and INTERNET Explorer), e.g. moving and layered text, scripted dynamic documents, absolute text- and image positioning - is discouraged because if you use a non-STANDARD HTML tag (such as the extensions), you are excluding a particular part of your audience.
An old solution to this could be, make an initial HOME page with two buttons "I use FireFox"/"I use Internet Explorer". I believe this choice is now made in JavaScript, embedded in the header (but what if the user blocks JavaScript? I SUPPOSE show a message "you need JavaScript").

And so, let your browser do the formatting, you focus on the content and stick to standard HTML. So it seems to be the purpose of HTML.
This is especially true when your document may look glorious on your browser but very ugly on others.

The Question
Is it best not to use extensions for these reasons, or has the Web 2.0 advanced enough so that these problems no longer exist?


What "extensions" do you mean?

Quote
An old solution to this could be, make an initial home page with two buttons "I use FireFox"/"I use Internet Explorer". I believe this choice is now made in JavaScript, embedded in the header (but what if the user blocks JavaScript? I suppose show a message "you need JavaScript"
Not necessary to use Javascript.

Quote
And so, let your browser do the formatting, you focus on the content and stick to standard HTML. So it seems to be the purpose of HTML.
Yes, the idea of HTML to place objects on a web page. But that's where CSS comes in handy.

Quote
This is especially true when your document may look glorious on your browser but very ugly on others.
Not if you design the site properly.
Well,
Quote
e.g. moving and layered text, scripted dynamic documents, absolute text- and image positioning
,
i.e.:

-
-
-

Not SURE if they are extensions.marquee:

http://w3schools.invisionzone.com/index.php?showtopic=9890

is stupid and doesn't deserve to exist.

CSS can change image sizes I believe.
607.

Solve : Cannot retrieve purchased download from Paypal?

Answer»

I hope someone can HELP me.  I have developed my site and have entered many items but upon check-out the link from Paypal BACK to the PAID FOR download is not operating.   Customer gets a 404 ERROR.  What am I missing here?

Thank you for your time if you have any suggestions or answers. FIRST of all, always assume its YOUR problem rather then the Web host or PayPal UNLESS you have prove...because they will.   I am assuming you have completed the Pay Pal preference page in your account, made an error and tried to fix it by highlight and delete or clear and paste...or maybe an unusual character got in there you just cannot see.  You NEED to remove it all and start all over with a brand new page.  The 'auto return' URL space has been corrupted.  At least that has been my experience.  Just wipe it all clean and start all over.

Hope this helps

608.

Solve : Is hidden overflow possible with IE??

Answer» WORKS in all other browsers, but not IE. Is there a WAY for it to work in IE, or should I disregard IE COMPLETELY?
 

Code: [Select]<div style="width: 35.938em; height: 13.438em; overflow: auto; padding:6px; border: 0px SOLID border;">
<table width=100% height="230"><tr><td>
<center>

<table width=100%><tr>
<td width=32%><center><img src="http://i40.photobucket.com/albums/e250/jonsan32/gallery-1.png" width="150" height="100"></center></td>

<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://www.thepoetryofjonsanders.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/eg1.png" width="150" height="100"></a></center></td>

<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://www.xibasketball.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/eg2.png" width="150" height="100"></a></center></td>
</tr>

<tr>
<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://www.collegestudentlawnservices.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/eg5.png" width="150" height="100"></a></center></td>

<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://gags4myhag.blogspot.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/eg4.png" width="150" height="100"></a></center></td>

<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://www.drunkpokernights.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/eg3.png" width="150" height="100"></a></center></td>
</tr>

<tr>
<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://jamwebsite.blogspot.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/jamsiteshot.png" width="150" height="100"></a></center></td>

<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://www.thehoopsquad.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/hoopsqadsite.png" width="150" height="100"></a></center></td>

<td width=32% "onmouseover="this.style.backgroundColor='#0000A0'; "onmouseout="this.style.backgroundColor='#ffffff';"><center><a href="http://www.bbaib.com/" target="_blank"><img src="http://i40.photobucket.com/albums/e250/jonsan32/bbaibsite.png" width="150" height="100"></a></center></td>
</tr>


</table>


</center>
</td></tr></table>
</div>
609.

Solve : Help! Website appearance problem?

Answer»

I created my website on a Mac computer and it has white lines on it when viewed on a pc.  What do I need to do to fix this? It LOOKS great when viewed on my Mac computer.  The site is grandmarketinginc.com.  Please help!  I'm new at this.The whole site is made up of images.I just viewed your source code and tryed to validate it USING w3 school site and their are 7 errors  http://validator.w3.org/check?uri=http%3A%2F%2Fgrandmarketinginc.com%2Fcreative_designs.html&charset=%28detect+automatically%29&doctype=Inline&group=0 highligted is the link to view these errors if you correct them then your page will be able to display on all pcsYour site SEEMS to entirely be made up of images.  The positioning of images can vary slightly between browsers.

Why are you building your site with images.  You can get the same look using text and a few images e.g. background, header .etc

Having lots of images makes it slow to load, unreadable in text only browsers and not search engine friendly as the search engine robot can't read the text on your site.This is quite clearly spam. Although one could give them credit for actually having a hopelessly BROKEN website. Unfortunately it doesn't look any different on a mac, (I just tried)... Quote

This is quite clearly spam.
Yes, but the link doesn't work, that's why I didn't bother REMOVING it.I just had a look at your site and it seems to be fixed out of interest how did you do it ?
610.

Solve : forms: Multiple Destinations depending on combo of Multiple Select Boxes?

Answer»

I'm trying to search for the correct code to MAKE my form work. I have 3 select boxes - one with 2 options, one with 8 options, and the last with 2 options... All of this adds up to 32 different url paths. Can anyone tell me how to get this done?

This is what I have so far: (and yea, I know I suck... I honestly have absolutely NO CLUE)


Code: [Select]
<html>
<head>
<script>
url = new Array();
url[0] = new Array();
url[0][0][0] = 'http://www.URL1.com';
url[0][1][0] = 'http://www.URL2.com';
url[0][2][0] = 'http://www.URL3.com';
url[0][3][0] = 'http://www.URL4.com';
url[0][4][0] = 'http://www.URL5.com';
url[0][5][0] = 'http://www.URL6.com';
url[0][6][0] = 'http://www.URL7.com';
url[0][7][0] = 'http://www.URL8.com';
url[0][0][1] = 'http://www.URL9.com';
url[0][1][1] = 'http://www.URL10.com';
url[0][2][1] = 'http://www.URL11.com';
url[0][3][1] = 'http://www.URL12.com';
url[0][4][1] = 'http://www.URL13.com';
url[0][5][1] = 'http://www.URL14.com';
url[0][6][1] = 'http://www.URL15.com';
url[0][7][1] = 'http://www.URL16.com';


url[1] = new Array();
url[1][0][0] = 'http://www.URL17.com';
url[1][1][0] = 'http://www.URL18.com';
url[1][2][0] = 'http://www.URL19.com';
url[1][3][0] = 'http://www.URL20.com';
url[1][4][0] = 'http://www.URL21.com';
url[1][5][0] = 'http://www.URL22.com';
url[1][6][0] = 'http://www.URL23.com';
url[1][7][0] = 'http://www.URL24.com';
url[1][0][1] = 'http://www.URL25.com';
url[1][1][1] = 'http://www.URL26.com';
url[1][2][1] = 'http://www.URL27.com';
url[1][3][1] = 'http://www.URL28.com';
url[1][4][1] = 'http://www.URL29.com';
url[1][5][1] = 'http://www.URL30.com';
url[1][6][1] = 'http://www.URL31.com';
url[1][7][1] = 'http://www.URL32.com';



function newURL(){
d = document.forms[0];p2 =-1;P1 =-1;
for(i=0;i<d.ch.length;i++){
if (d.ch[i].checked){
if(p2 == 1){
if(i == d.ch.length-1){alert('There is no url for this combination!');return false}
else {p1 = 0;break}
}
else {p1 = i;p2++;}}}
if(p2 == -1){alert('Please select all fields!'); return false}
window.open(url[p1][p2],'_self');
}
</script>
</head>

<body>
<form> <select name="gender">
<OPTION value="1">Girl
<OPTION value="2">Boy</OPTION></select>
<select name="grade">
<OPTION value="1">3rd Grade
<OPTION value="2">4th Grade
<OPTION value="3">5th Grade
<OPTION value="4">6th Grade
<OPTION value="5">7th Grade
<OPTION value="6">8th Grade
<OPTION value="7">9th Grade
<OPTION value="8">10th Grade
</OPTION></select>
<select name="classroom">
<OPTION value="1">English
<OPTION value="2">Math
</OPTION></select>
<input type="button" onclick="return newURL()" value="Submit">
</form>
</body>
</html>





Thanks for your time.from a user named hielo... from another forum. Does this look right?


Code: [Select]<html>
<head>
<script>
 
url = new Array();
url[0] = new Array();
url[0][0]=['http://www.URL1.com','http://www.URL9.com'];
url[0][1]=['http://www.URL2.com','http://www.URL10.com'];
url[0][2]=['http://www.URL3.com','http://www.URL11.com'];
url[0][3]=['http://www.URL4.com','http://www.URL12.com'];
url[0][4]=['http://www.URL5.com','http://www.URL13.com'];
url[0][5]=['http://www.URL6.com','http://www.URL14.com'];
url[0][6]=['http://www.URL7.com','http://www.URL15.com'];
url[0][7]=['http://www.URL8.com','http://www.URL16.com'];
 
url[1] = new Array();
url[1][0]=['http://www.URL17.com','http://www.URL25.com'];
url[1][1]=['http://www.URL18.com','http://www.URL26.com'];
url[1][2]=['http://www.URL19.com','http://www.URL27.com'];
url[1][3]=['http://www.URL20.com','http://www.URL28.com'];
url[1][4]=['http://www.URL21.com','http://www.URL29.com'];
url[1][5]=['http://www.URL22.com','http://www.URL30.com'];
url[1][6]=['http://www.URL23.com','http://www.URL31.com'];
url[1][7]=['http://www.URL24.com','http://www.URL32.com'];
 
 
 
 
function newURL(){
VAR f=document.forms[0];
TRY{
var u = url[f.gender.selectedIndex][f.grade.selectedIndex][f.classroom.selectedIndex];
alert(u);
window.open(u,'_self');
}catch(e){
alert("All Fields are required");
}
}
</script>
</head>
 
<body>
<form>
<select name="gender">
<OPTION value="1">Girl</OPTION>
<OPTION value="2">Boy</OPTION>
</select>
 
<select name="grade">
<OPTION value="1">3rd Grade</OPTION>
<OPTION value="2">4th Grade</OPTION>
<OPTION value="3">5th Grade</OPTION>
<OPTION value="4">6th Grade</OPTION>
<OPTION value="5">7th Grade</OPTION>
<OPTION value="6">8th Grade</OPTION>
<OPTION value="7">9th Grade</OPTION>
<OPTION value="8">10th Grade</OPTION>
</select>
<select name="classroom">
<OPTION value="1">English</OPTION>
<OPTION value="2">Math</OPTION>
</select>
<input type="button" onclick="return newURL()" value="Submit">
</form>
</body>
</html>

611.

Solve : DNS CNAME Records for Subdomains?

Answer»

Hello all,

I have a question about how to properly set up cname records for a subdomain that points to my domain (EG: music.zylblog.info, which is the exact case I am asking about!)
Here is the predicament:
The record looks like this:

CNAME
   music    is an alias of    zylblog.info    with automatic TTL

and I can access http://music.zylblog.info
BUT, I can not access http://www.music.zylblog.info

My question is this: How can I make it so that www.music.zylblog.info works? (And any other SUBDOMAINS I choose to add..)
Also: Is there another way to do this through Apache? (Since I have few "sub-blogs", DNS configuration works fine for now).

Thank you for your attention in this matter,
Jesse Zylstra

P.S. music.zylblog.info is a real site, but I am not near finished developing it yet -- don't expect much if you are trying to figure out what I have been up to. You see, "www" is actually a virtual sub-domain of zylblog.info which servers treat as the default.

Add this to .HTACCESS file in root folder of music subdomain, assuming your host supports it:
Code: [Select]RewriteCond %{HTTP_HOST}      ^music.zylblog.info                 [NC]
RewriteRule ^(.*)$            http://www.music.zylblog.info/$1    [R=301,L]

I'm not sure if that works for subdomains, but try it anyway.Nope, unfortunately it did not.
Try this:
Code: [Select]RewriteEngine On
RewriteRule ^http\:\/\/music\.zylblog\.info\/(.*)$      http://www.music.zylblog.info/$1    [R=301,L]
That also did not work.
It seems to me that we should be changing something in Apache itself, but I have no idea what. End of the line, eh? It looks that way.

 Sorry I haven't got a SOLUTION. You could try over at webmaster-talk.com.

612.

Solve : xampp website?

Answer»

I have problems with xampp.
i can visit my site on http://localhost/ or http://127.0.0.1/ I changed the inc.config php file and apache and mysql are running but still people and friends can't connect to my website.

sorry for my bad english...How are they trying to connect to your site? Quote from: kpac on August 21, 2010, 04:27:50 AM

How are they trying to connect to your site?

www.fubbo.nl

but about the inc.config php file
i have to input my host (localhost)
 phpmyadmin username (root)(default username)
my local ip(xxx.xxx.xxx.xxx)
MUS socket port (30001)
my database password (******************)
my site url (www.fubbo.nl)
and my hash adress (PRIVATE)How exactly do you have your domain pointing to your server?  Also - You may need to forward port 80 on your ROUTER.

It also SEEMS that your domain name fubbo.nl is not registered. Quote
my local ip(xxx.xxx.xxx.xxx)
Ask your friends to try connecting to your IP. Quote from: kpac on August 21, 2010, 07:58:32 AM
Ask your friends to try connecting to your IP.

This means your external IP found by going to a site like ipchicken.com.  You will also need to forward the port (Probably 80) on your router.how to port forward??? i can't find a free and easy tutorial or somthing
What is the make/model of your router?Thomson TG787UTry this: http://portforward.com/english/routers/port_forwarding/Thomson-Alcatel/TG787/default.htm

You will want to forward port 80 to the local ip address of the computer hosting the site,  you can then access the site using your external ip address which can be found by going to http://www.ipchicken.com
613.

Solve : embed tags help?

Answer»

When I place  embed  tags   do they go in the  Head  Tags   or  Body  tags???Embedded CSS goes inside the Head tags. Example: http://www.blooberry.com/indexdot/css/examples/cssembedded.htm Quote from: soybean on July 13, 2010, 03:42:45 PM

Embedded CSS goes inside the Head tags. Example: http://www.blooberry.com/indexdot/css/examples/cssembedded.htm
No, the HTML tag, I believe.

Quote from: nymph4 on July 13, 2010, 03:26:43 PM
When I place  embed  tags   do they go in the  Head  Tags   or  Body  tags???
Body. Quote from: kpac on July 13, 2010, 04:52:19 PM
No, the <embed> HTML tag, I believe.
Ah, you're probably RIGHT about that, which means he wants to embed sound or video in a web page.I put this tag in the body  section



And it works and plays sound good.

How can I ad  or were do I ad the Height and width  to the  player?

Right now I just have a Black Box with not controles or anything.  So I thought maybe it's because I have no  Width and Height  attributes? Quote
Right now I just have a Black Box with not controles or anything.  So I thought maybe it's because I have no  Width and Height  attributes?
No, it's just a sound file you're embedding, not a player.So if I am not puting a player on the page  why is it puting a black box???

And can I get rid of this black box?I forgot to ask can this tag


Have  mp3s  play?

It works great playing  wav  files  in Firefox and  Internet Explorer???you could try it???

then you would know???

while you're at it stop phrasing statements as questions???

I have got my code to work



And my sound file is  25 kB in size  so all works good.

But one thing I can't get it to LOOP  I tryed   loop="6"  I tryed  LOOP="true"  and  playcount="6"

They all play but just one time??
I am useing  firefox  but this can't be it   because I went to  Hula Hands  website and they have music and it  loops??my file is called   people.wav  how do I use this code





what do I change  do I do this





I dont think I am doing it rightnymph4, do you not understand what this means?:
Quote from: BC_Programmer on July 16, 2010, 10:45:40 AM

stop phrasing statements as questions

Ok I used this code


and I am useing Firefox and it work good even THOUGH the internet TELLS me that the Embed Tag is Out Dated.

But I STILL can't get my sound to LOOP or Repeat   is it a Firefox thing??I used this






And it works great and it repeats my audio file.

what is this part for


Quote
what is this part for
If the user's browser does not support the tag, the code inside it will be executed. ALTHOUGH I've never seen or heard of that tag before.
614.

Solve : Help with HTML Code no JAVASCRIPT?

Answer»

I NEED to be able to open up another webpage smaller then a normal size window (example: 300 x 500) and I need the code to be all HTML no javascript at all is this possible.

http://test/remote.htm">Click here to
Control the Lights in the Office[/url]




That code WOULD work great and does work great but when you click on "Click here to Control the Lights in the Office" it opens up in a new window (what I want) but opens up in FULL size window.. I need it to open up in smaller window like 300 x 500 with no scrollbars or anything.. and I cant get that done with out using Javascript. I DONT want to use any javascript is this possible.. If so just redo my example above.. thanks so much It's not really possible to not use JS. Some advanced CSS might work but I doubt it. Why is using JS a PROBLEM?
615.

Solve : div help?

Answer»

If I WANT to left an Image I can do this

But if I can just use the aling tag at the end of the HTml code

Now I am doing this fast so I know these codes are OFF.

But what is  the diferance between  DiV  or  just like they did Years AGO  at the end of the image HTML code??1) There is no HTML "aling" attribute.
2) You clearly have no idea at all about how to use HTML attributes.
3) You clearly have no idea at all about how to use HTML.
4) What is "5) You don't know how to RESEARCH answers to your own problems before asking.
6) I'm repeating myself. QUOTE from: nymph4 on August 06, 2010, 12:47:11 PM

Now I am doing this fast so I know these codes are OFF.

Reformat and reinstall.

Now I am doing this reply fast so I know my suggestion may be OFF.
616.

Solve : FB Like Box Insert?

Answer»

I am a beginner...Just want to state that

I am inserting the following code in my webpage:
http://www.facebook.com/plugins/likebox.php?id=136854000678445&AMP;amp;width=292&amp;connections=10&amp;stream=true&amp;header=true&amp;height=587" SCROLLING="no" frameborder="0" style="border:NONE; OVERFLOW:hidden; width:292px; height:587px;" allowTransparency="true">

I am wanting the text box to show on the left side with my text on the right side.  So the text would START at the top right of the Like Box and be aligned within the webpage.

I can get the Like Box on the left side what I am unable to do is get the text to show on the right side. And keep at the top of my page.

Thanks for any guidance for this newbie.Are you saying you want a text inside the iframe or outside it to be aligned to the top right?

617.

Solve : nested frames?

Answer»

hi im trying to create a page from nested frames, this is my CODE but i cant see whats going wrong, the images end up all over the place.



titan snow



     
   http://i828.photobucket.com/albums/zz210/dyltomkins/landinghead.jpg" marginheight="0">
   http://i828.photobucket.com/albums/zz210/dyltomkins/lannavwhole.jpg" marginheight="0">



http://i828.photobucket.com/albums/zz210/dyltomkins/landingmain.jpg" marginheight="0">
 
    http://i828.photobucket.com/albums/zz210/dyltomkins/landinoffers.jpg" marginheight="0">
    http://i828.photobucket.com/albums/zz210/dyltomkins/landingtwit.jpg" marginheight="0">
    http://i828.photobucket.com/albums/zz210/dyltomkins/landingface.jpg" marginheight="0">
    http://i828.photobucket.com/albums/zz210/dyltomkins/landingnews.jpg" marginheight="0">
To be honest I can't understand why anyone uses frames.

But ANYWAY I can see a good few problems with that code.
1) In the first frameset, you have 6 rows set but you are only using 2 frames inside the frameset.
2) In the SECOND frameset you have 2 columns but you're using just 1 frame.
3) The four frames after that are not in a frameset.you can only have one frameset tag that is used, I BELIEVE. if you WANT nested frames you need to make a frame reference a file that contains another frameset.

618.

Solve : .txt to display in tooltip??

Answer»

I have a feeling this is a simply answer but it NEVER hurts to make sure. I do not want to have to re-write the info in each .txt file i have to CORRESPOND to each of my store images. i was thinking re-save them all as .html but then i would still have to open each ONE so might as well just copy and paste to the google spreadsheet.

oh WAIT what is it JAVASCRIPT or css that would allow me to reference the .txt file to show its content in the tooltip below the enlarged image?Javascript can do it.

Code: [Select]var txtFile = new XMLHttpRequest();
txtFile.open("GET", "http://www.mywebsite.com/textfile.txt", true);
txtFile.onreadystatechange = function() {
  if(txtFile.readyState === 4) {
    if(txtFile.status === 200) {
      allText = txtFile.responseText;
      lines = txtFile.responseText.split("\n");
    }
  }
}
txtFile.send(null);

The variable "allText" is what you want to use.

619.

Solve : HTML SCREWY DISPLAY?

Answer»

Hello everyone,

I have an odd issue that I have not been able to find anything on so I hope I can get an some help here.
ISSUE:
One one machine (mine) a webpage that I made minor changes to will not display properly.  On other machies it displays fine and on my machine if I double-click the HTML file itself, as opposed to going to the client site and clicking the link to the page, it opens fine.  It is only screwy when I go into the page via the site link.
What I changed:
The only changes I made to the code was to change text and an image.  I didn't make any formatting changes.
How I changed code:
What I did was copy a BLOCK of code that was to be commented out because the information within it was to change.  I did that instead of just replacing what was there directly so that I could easily find it and use it again for future changes.  After copying the code I commented the previously selected code out and then MODIFIED the text and image in the new block of code.
What I see: 
It seems that all of the horizontal lines on the page have shifted to the top right of the page and all of the should be separated text and images run together.  As I said earlier, it doesn't do this for anyone else that I had try it and when I look at the page by double-clicking the HTML file directly.

Any assistance in figuring this out WOULD be greatly appreciated.  I tried to redo the entire process a couple of times and checked it at VARIOUS STAGES of the modifications but in theend I still have the problem

Thanks, DougI should mention I am using Windows XP SP3 and I/E 8.0.6001.18702.  My coworker is using the same version of XP but I/E 6.  I am not sure what the other person that checked it is using.  I don't know why the I/E version difference would be the problem though since I can see it fine when double-clicking the file directly.  Thanks. Quote

I don't know why the I/E version difference would be the problem
IE6 is the problem. IE6 is a problem in itself and should be a manditory update in Windows. Quote from: skatkat on July 22, 2010, 12:32:07 PM
Hello everyone,

I have an odd issue that I have not been able to find anything on so I hope I can get an some help here.
ISSUE:
One one machine (mine) a webpage that I made minor changes to will not display properly.  On other machies it displays fine and on my machine if I double-click the HTML file itself, as opposed to going to the client site and clicking the link to the page, it opens fine.  It is only screwy when I go into the page via the site link.
What I changed:
The only changes I made to the code was to change text and an image.  I didn't make any formatting changes.
How I changed code:
What I did was copy a block of code that was to be commented out because the information within it was to change.  I did that instead of just replacing what was there directly so that I could easily find it and use it again for future changes.  After copying the code I commented the previously selected code out and then modified the text and image in the new block of code.
What I see: 
It seems that all of the horizontal lines on the page have shifted to the top right of the page and all of the should be separated text and images run together.  As I said earlier, it doesn't do this for anyone else that I had try it and when I look at the page by double-clicking the HTML file directly.

Any assistance in figuring this out would be greatly appreciated.  I tried to redo the entire process a couple of times and checked it at various stages of the modifications but in theend I still have the problem

Thanks, Doug

Please provide a link to the page, if you have one.  Also let us know what browser and version you are using that displays the page incorrectly (usually found by clicking something like About on the Help menu).
620.

Solve : fatal error undefined mysql_connect PLEASE HELP! :'(?

Answer»

hello everyone

here is my problem

>> fatal error UNDEFINED mysql_connect &LT;<

i dont have it open at this minute, but logged into cpanel, i LOADED my files into file manager, one of which asked me to fill in where it says something like mysql_connect (server, user, password, dbname), created a database, GAVE it a name, user and password, i then went into myphpadmin and put files into the databases i created...

i typed in the web address using my domain name, clicked the file, logged in and it open up... but most i couldnt access most of the stuff on there because of the error message telling me "fatal error undefined mysql_connect" which leads BACK to this file i uploaded and the line where it says i should enter my (server, user, password, dbname)

thanks for any help anyone can offer on this. its really driving me around the bend.Post the code if possible.http://forums.mysql.com/read.php?52,98383,98383

621.

Solve : Ftp server HELP needed?

Answer»

Ok i am the most basic of web designers on the planet. I am using a template and i just WANTED to use an ftp SERVER to up load my 4500 plus image files so that i wouldn't have to upload them one by one to my free site template on live.com.

i have a google CHECK out account which allows me to create a spreadsheet with all the info to have my store up in minutes it took 5 days to realize i had to separate each sheet to have only 100 products per page great.  now live.com doesn't support the snippet of script to load the spreadsheet published as webpage.

so i went to weebly.com to post the product list ok it LOADS but now it asks me to enter my password and i thought after i entered my password and published the site it would go away. it didnt' now when you load my product page http://bmwbundles.weebly.com/full-product-list.html it asks for a password for each image on the page. HOW DO I GET RID OF IT. DO I NEED TO CHANGE THE PORT FROM FTP TO HTTP. IF SO HOW DO I DO THAT. I have file zilla and use orgfree.com as my server host. I am not that dumb I can read html code and i have a rudimentary knowledge or writing simply scripts like pop ups and images as links. I am a fast learner i learned it all in 3 days by just searching for what effects i wanted and manipulated to what i wanted. but this i am not sure exactly what steps to take. Can you post the code of that page. I can't view because of all the popups.here is just one of the 4500 links to the locations

ftp://[email PROTECTED]/public_html/images/12025.gif

here is the error message
530 Login authentication failed obviously i simply exited instead of entering my password

550 Can't change directory to /public_html/images/12019.gif: No such file or directory
this 1 image file has not been uploaded. i created the image link in doc mail merge to save time

the template is powered on weebly.com i just added the google snippet to the custom html element of the site i didn't write the code for this particular page i don't know if it is ok to share the source code on a public forum

do you want the google snippet?Ok i just read the source code for the page in question and i believe the following is my personal information






dsbE" />





[/url]



http://www.weebly.com/weebly/apps/serveAds.php?type=adsense&elementid=700307753577655182&ineditor=0&subdomain=bmwbundles.weebly.com&pubid=ca-pub-1188695032238888&adformat=468x60&adtype=text_image&bordercolor=FFFFFF&bgcolor=FFFFFF&linkcolor=0F53FF&textcolor=000000&urlcolor=008000">



https://www-sgw-opensocial.googleusercontent.com/gadgets/ifr?url=https%3A%2F%2Fstoregadgetwizard.appspot.com%2Fservlets%2FgadgetServlet%3Fkey%3D0AkOPK8bktYmWdDhHUk1qa0lnOWNXaU4zYVI4WndsbHc%26mid%3D911921309846231%26currency%3DUSD%26sandbox%3Dfalse%26gadget%3DLARGE_V2&container=storegadgetwizard&w=800&h=500&title=&brand=none&output=js'>





Quote

here is just one of the 4500 links to the locations

ftp://[email protected]/public_html/images/12025.gif
The images are in the public_html folder so you don't need to use FTP. Just link to them like ".../images/image.gif".
622.

Solve : How to create an exit pop-up code??

Answer»

Hello Friends,

Need help to create an exit pop-up for list building. ALSO the input data needs to be aligned with the autoresponder.

Appreciate your help! You could write a javascript function (in the header) that loads and accompanying .html file when the page unloads.

e.g
Code: [Select]<head><script type="text/javascript">

function popup(){
window.open(yourhtmlfile)
}
</head>
<body onunload="popup()">
<pre>.
Your
code
here
.</pre>
</body>Jeronimo,

Thanks so much for the code. But while working with this code, I'm not able to understand the below potion:

.
   Your
   code
   here
   .

Which code you meant here ? and what the dots indicate before and after the ?

Appreciate your help and explanation. :)SORRY I didn't answer ealier

The pre was just a random tag I inserted. You can replace that with your html code you have between your area.

Just asking this CUZ I'm curious:
Are you a html beginner ?Dear Friend,

Thanks for the explanation. I looked at your code keeping in JAVA what you specified and never thought about HTML.

No problem to reply your QUESTION. About my level in HTML....my reply is that I place myself in intermediate category. I am more keen into web development than web designing. With the advent of great software like XSitePro etc. hardly now you require to know HTML for your own website.

However, I am experimenting these elements of HTML and JAVA codes. Hello,
My name is Yang Yang and I am a web programmer. I created a blog post detailing how to program an exit pop up script.

You can find it at

No spam thanks. --kpac

Hope this helped.
Here's what I did. I created a software to generate the exit popup code.

Check out here:

No spam thanks. --kpac

623.

Solve : PHPBB forum help theme?

Answer»

Does anyone know how I can MAKE my own theme on phpbb.
I have downloaded it etc. I just want to know how to do it.

If that doesn't work I can't find the coding to get RID of
"yourdomain.com A short text to describe your forum" in the header of the forum HTTP://www.phpbb.com/kb/article/how-to-create-a-style-basics/Thank you for that is there something like a video tutorial which could help me so i can understand.

I as well where do can I change where it says:

yourdomain.com
A short text to describe your forumWhen installing the forum you should have got the option to change the title and description of your forum. You can change in the Admin CP - Board settings.

Quote

is there something like a video tutorial which could help me so i can understand.
I don't think so. I takes hours if not days to create a theme.OK well do you know how to take:
 yourdomain.com
A short text to describe your forum

Away Quote from: Typhoon on July 13, 2010, 06:08:06 AM
OK well do you know how to take:
 yourdomain.com
A short text to describe your forum

Away

He just told you. Admin CP -> Board Settings.OK SORRY.

one last question i hope i want to change the logo *censored* i want it to be the same size as the logo its self I'm using subsilver2.

Is there coding for that
624.

Solve : Background won't repeat in Explorer?

Answer»

Hi, one PAGE of my website works fine in Firefox, but not in Explorer.  The URL is:

http://www.worldhungerteam.com/news.html

The background steps just fine in Firefox, but it truncates and stalls in Explorer.  I'm sure this is a simple fix, but I can't figure it out.  Can anyone help?  Thanks,

Randallbackground looks fine here in FF, IE, and Chrome.background looks fine here in FF, IE, and Opera. Something's not right with the site somehow, IE 8 and chrome are displaying them differently. See screenshots below (IE8 vs Chrome):

The news page

IE8


Chrome



The Order the Book page
IE8


Chrome




I imaging the page is supposed to look like the way it looks in Chrome. Is that right?Yes, the final image from Chrome is the way it is supposed to look.  Why would the page display correctly for some viewers and not others? That's IE for you, unfortunately - however frustrating it is.

What you can do is use more IE conditional comments. You are using some for just IE in general, but I think you should add another for IE8 specifically.

Code: [Select]&LT;!--[if IE 8]>
<style type="text/CSS">
   /* styles */
</style>
<![endif]-->
That didn't seem to affect it... but it did lead me to try something else, which was to make separate CSS forms for each page.  By changing the background height command manually, I achieved the desired results. .

min-height:300px;

By changing the height in this command line manually and refreshing the page in IE, I tweaked each page to make it work.

Thanks for your ADVICE; much appreciated!Glad it worked out.
IE has a lot to say about the min-height CSS property. Do a Google and you'll see for yourself.

Hopefully MS will allow for more input from web developers in the future regarding the development of IE but that doesn't really sound likely.

625.

Solve : index.html link to index.php?

Answer»

i have an index.html page with jobs TAB and want to link the jobs TAB to an index.php page that has been created in a folder CALL jobs which has been uploaded in local public html folder on my control panel. need your help please.Please explain in more detail. Can you POST some code?Um, do you mean just a link?!

Code: [SELECT]&LT;a href='jobs/index.php'>Jobs</a>
GASP! How could you not know this?! Did you look at the basic tutorials?!

Or am I wrong, and you mean something entirely different?

626.

Solve : embed cctv video output in web page?

Answer»

hi to all!

can any one help me/ teach me how to embed cctv video OUTPUT in html?

thanks!Do the CAMERA automatically stream to an IP has it to be manually set up?

i want to try the IP camera and the dvr card (computer based dvr) to embed in html.

in IP camera we can manually set up its IP address.

are the a way to embed the dvr card output in html?
 by the way our card is Geovision 1480 it has this remote VIEWING THRU web BROWSER
but i want to embed in our own webpage.
what are the possible way to embed this video output in web page?

thanks for the reply

627.

Solve : IIS - ARRRRGGGGGG!?

Answer»

For the third time today, IIS randomly decided to not display localhost on the server.  It never showed up on any other computer.  I've got the real IP (NOT from ipconfig) and I get a 404.  I'm about to scream.  I've rebooted countless times.  Please help!

EDIT: localhost works on the server again, but it still doesn't work on other computers.  The IP is 173.26.179.237 (yes, I memerized that number from typing it in too many times)You are speaking about a server right?Well before i helping you i would like to know 2 things:1)What kind of connection is the sever using on NET and if the line that is being used by the server is a T3.
2)Is thes information about the ip adress you GAVE correct???,because i found the traces that this ip leaves and i have found that stuff:
IP address :173.26.179.237
IP country code:US
IP address country:ip address flag United States
IP address STATE:Illinois
IP address city:Milan
IP postcode:61264
IP address latitude:41.3974
IP address longitude:-90.5901
ISP of this IP:    Mediacom Communications Corp
Organization:    Mediacom Communications Corp
Host of this IP:173-26-179-237.client.mchsi.com
The server uses a broadband ROUTER with two other computers on the router.  All the information is correct.

628.

Solve : PHP Server Extensions?

Answer»

Is there such thing?  PHP SCRIPTS don't run on my computer and I was wondering if there was any SOFTWARE I needed to DOWNLOAD for that.  Is it free? Quote from: Fleexy on June 19, 2010, 03:36:51 PM

Is there such thing?  PHP scripts don't run on my computer and I was wondering if there was any software I needed to download for that.  Is it free?

you need to download php.

http://windows.php.net/download/XAMPP might be a better solution for you.

http://apachefriends.org Quote from: BC_Programmer on June 19, 2010, 03:59:59 PM
you need to download php.

http://windows.php.net/download/

OK, now it says something about oci.dll being missing.  I DOWNLOADED oci.dll and put it in C:\WINDOWS\system32, but now it says "The procedure entry point OCILobRead2 could not be located in the dynamic link library OCI.dll."  It says that twice then: "The procedure entry point OCIClientVersion could not be located in the dynamic link library OCI.dll."

Help? Quote from: kpac on June 19, 2010, 04:18:48 PM
XAMPP might be a better solution for you.

http://apachefriends.org
629.

Solve : text and photos help?

Answer»

I found a  code that LETS me put an image on my page  and have  text   were ever I want it to be around the image or next to the image or   next to it  to the  right  and how to be.



All my text is typed here.



This works and I can change the align Top  Bottom  or whatever it works  but just one thing?



Sould it not be



or 



Every bit of code you gave is wrong. Post it exactly as you have it.I have a  SCC  Book and the code for placing an image and having text next to it and  to put the text  top  or bottom or were ever is this


All my text is typed here.



It does work my image is on screen on the far left and right next to the image on the right side of the image is my text.  And I can have it aligned to the top right  or  middle  right  or however I want to my image.

It is workinbg so how is this incrrect??Okay, yes, what you MEAN is right.

But there are errors.
Code: [Select]<p><img src="folder.jpg" hight="97" width="110" aligm=="bottom"/>
All my text is typed here.
</p>
You spelled height wrong ("hight"), you spelling align wrong ("aligm"), and why have you two = signs?

Quote
I have a  SCC  Book
Don't you mean CSS?soory this is my code and it works


You type text here.



But why the  Slash  /   after align="bottom"/>

sould it not be    to closs itNo. does not have a CLOSING tag.you does not have a image closing tag.That has been established, thanks.

630.

Solve : php noob question?

Answer»

Hello

I/we very much need a php script for our clan site which will enable x amount of users to enter their times for 32 different fields and have those times displayed in a particular order.

PLEASE see here:

[RV] R e v o l u t i o n

This is currently all done by one person updating HTML and is extremely time consuming and tedius (takes me weeks to compile the data and another 2/3 weeks to update HTML)

Please can someone point me in the right direction on how I can find/write such a script?

Thank you in advance.

You'd probably have to adapt one of these to WORK with the TYPE of format you want. But the first thing that came to mind is setting up some type of PHP ladder, I recall setting up a ranking type system similar to what your clan has for a Wow Guild I was part of. It could work for your type of situation. Unfortunately it's been a few years for me since I messed with it and it seems the one we used is gone and most now days seem to charge you or are no longer available.

The only free one I could find that looked semi decent is: http://kmleague.net/

631.

Solve : IIS Password??

Answer»

I've got an IIS server running WinXP Pro, it serves it fine, but when I go to its IP (192.168.1.1), I get this:



And... I don't know either.  I tried LEAVING it blank; I tried test/test.  I get 401 Unauthorized.  Help?  This is serving http://www.ben-ware.com (my computer goodies website).  Going to that URL also gets that.Try username "root" and no password. That page or the IP isn't loading for me.Didn't work Quote from: kpac on JUNE 26, 2010, 04:45:27 PM

Try username "root" and no password. That page or the IP isn't loading for me.


It's an IIS server. Linux uses "root", not windows.

second: the IP address is clearly a LAN address.


Fleexy:
try "administrator" with no password.

Or, pretty much- put in your username password for that machine. (the server). Quote
It's an IIS server. Linux uses "root"
I know but I wasn't sure what Windows used.

I suppose this is one of the reasons why Linux is far more than Windows. *slaps self*

OF COURSE!  I put in the LAN address!

Me.IsDunce = TRUE
632.

Solve : Company website question..............?

Answer»

When I update info on my company's staging site, then save, why is it not appearing on the company site.
Is there something I am forgetting? Usually it updates right away. Thank you!!!I think your company IT DEPARTMENT would be ABLE to help a lot better then we would.
If we had one I would ask them. We outsource a company for HOSTING the site and get billed each time we EMAIL them. Which is why I am trying to figure it out on my own. 1) What browser are you USING?
2) What language are you coding in?
3) What are you using to create and save the pages?

633.

Solve : Moved to Internet browsers?

Answer» MOVED to INTERNET BROWSERS
634.

Solve : tag help?

Answer»

I have looked all over the net for doing internal  CSS  and  I SAW  one way that SAYS wen you do you Style tags you PUT them in the header tags I get this





Cand I do this or can I just TYPE this



It's better to use the first one.

635.

Solve : Emergency?

Answer» Hi guys my uncle have a forum and we're  having a problem with it
There is some hacker hacking the forum and causing this problem :
he deleted all webpages and folders inside the website and he wrote his email so we have to upload the forum again
Does any one of you know some way to protect the forum or know some code we can add it to the forum to protect
Are you using some kind of forum software or is it custon-built?wot do you mean by custon-built ? if u mean how we BULIT the forum ... it have been built by a web programer (my friend)
and no am not using any kind of forum software
Well what I can recommend then, is to use some-kind of well-known forum software like SMF or phpBB. These are both free to download and are updated frequently with patches / bug fixes etc.

If you're interested in commercial solutions, there are vBulletin and IPBoard.

These would definitely be a better solution to what you have at the moment. Custom themes and templates can be added to any of the above so you can still use the layout you had on your old forum.Thanx dude but could u tell me more about forum software or about his work Basically forum software can be installed on a webserver and provides a ready to use forum.  Themes are USUALLY available and patches are RELEASED for any security holes.

Personally I prefer SMF as a free one - This forum is powered by SMF! Quote from: kanaan on June 17, 2010, 09:43:24 AM
Thanx dude but could u tell me more about forum software or about his work
That's another thing. It's not one person who designed it, it's a whole community of web developers and testers. That's what makes it so secure and reliable - the fact that you have some of the best developers involved in it. Having so many people involved also means that if there is a vulnerability found, it is usually patched very quickly.

I think you have the wrong meaning of "software" though. When I say "forum software", I mean, as camerongray said, a forum that can be installed on your website easily without any code editing by you.

This forum that you're using right now is SMF, if you hadn't noticed.does the "custom" forum have any form of user authentication, or is it more along the lines of "are you a registered user Y/N?"I recommend Forumotion, a quick, customizable, immediately online forum services.

http://www.forumotion.com/

----

SECURE AUTHENTICATION
Are you an ADMINISTRATOR? (Y/N)
y

AUTH PASSED - you can now administrate this forum.

  Thanx alot guys i think i will try the smf
bc_programmer i dont know because am not an ADMIN in the forum am just askin  to help my uncle because  he own the forum
636.

Solve : Div help?

Answer»

I am doing Inline  css   and it works good for text  and things like this.

Then I saw this thing CALLED a  Div  Tag   and it says it's used to  seperat  Blocks of  Code.

Sould I be puttine a  Div  Tag  before every  Inline  Style code I do  Like wen I have



And it works without the div  TAGS  so what is it for?NO.
Go back and study some examples.
USE Google to FIND simple TUTORIALS on how the div tag may be used.I did google found me a lot.

I see you use Div  Tags to  place  things in sertane spots.

But what I don't get is this if I center something  it works   why do I have to use Div to center it then???

637.

Solve : HTML 404 Auto-Redirect?

Answer»

I would like to use standard HTML to catch a 404Exception and redirect the user to my "Page not found" page.check out this link. Hope it helps  MMM, sorry, this SITE is plain HTML. HTML or JS can't do it. What kind of server is it, Apache? Quote from: kpac on June 18, 2010, 04:08:03 AM

HTML or JS can't do it. What kind of server is it, Apache?

It'll have FrontPage Server Extensions.Okay, but what type of server, Apache or IIS? I presume it's Apache. If so, then you'll probably use PHP.Oh, sorry, it's IIS.
638.

Solve : naking A DEFCON javascript?

Answer»

hi im having problems making a defcon indicator and i was wondering if any one can help make it

what i need it to do is display a defcon level (DEFCON 1 - DEFCON 5) and then next to it an alliance name

i need it to have a log-on feature so you can change the defcon status and allianceBumpbumpI will lock this topic if you don't STOP bumping. Wait at least two days before bumping.sorry just nobody is replyingIt's not like the topic is being shoved to the second page of the forum with new posts.

Anyway, let me see.
Describe your problem a bit more. Have you got any code?i dont know much about java script but this is what ive got (i used a jaca script live clock and edited it (alot of it was LICK the scripting language lua so it didnt take me long and this is what ive got))
///////////////////////////////////////////////////////////
// "Live Clock Advanced" script - Version 1.0
// By Mark Plachetta ([email protected])
//
// Get the latest version at:
// http://www.zip.com.au/~astroboy/liveclock/
//
// Based on the original script: "Upper Corner Live Clock"
// available at:
// - Dynamic Drive (http://www.dynamicdrive.com)
// - Website Abstraction (http://www.wsabstract.com)
// ========================================================
// CHANGES TO ORIGINAL SCRIPT:
// - Gave more flexibility in positioning of clock
// - Added DATE construct (Advanced version only)
// - User configurable
// ========================================================
// Both "Advanced" and "Lite" versions are available free
// of charge, see the website for more information on the
// two scripts.
///////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////
/////////////// CONFIGURATION /////////////////////////////


// set the day value to the number corrisponding to the defcon level so 0 = defcon 5 and 4 = defcon 1
   var day = 0;
// set the allianceactive value to 0 if you do not want to display the alliance name and 1 to display the alliance name
   var allianceactive = 0;

   var DaysOfWeek = new Array(5);
      DaysOfWeek[0] = "DEFCON 5";
      DaysOfWeek[1] = "DEFCON 4";
      DaysOfWeek[2] = "DEFCON 3";
      DaysOfWeek[3] = "DEFCON 2";
      DaysOfWeek[4] = "DEFCON 1";
      DaysOfWeek[5] = "DECCON 0";


// green 5 00ff00
// green 4 82ff00
// yellow 3 ffff00
// orange 2 ff7d00
// red 1 ff0000
// blue 0 1b90ff

// change the Alliance[1] apropriently do not touch the

  • variable

   var Alliance = new Array (2)
      Alliance[0] = ""
      Alliance[1] = " - With [the unforgiven]";









//////////dont worry about this part onwards//////////
   // Set the clock's font face:
   var myfont_face = "Verdana";

   // Set the clock's font size (in point):
   var myfont_size = "10";

   // Set the clock's font color:
   var myfont_color = "#1b90ff";
   
   // Set the clock's background color:
   var myback_color = "transparent";

   // Set the text to display before the clock:
   var mypre_text = "";

   // Set the width of the clock (in pixels):
   var mywidth = 300;

   // Display the time in 24 or 12 hour time?
   // 0 = 24, 1 = 12
   var my12_hour = 1;

   // How often do you want the clock updated?
   // 0 = Never, 1 = Every Second, 2 = Every Minute
   // If you pick 0 or 2, the seconds will not be displayed
   var myupdate = 1;

   // Display the date?
   // 0 = No, 1 = Yes
   var DisplayDate = 1;

/////////////// END CONFIGURATION /////////////////////////
///////////////////////////////////////////////////////////

// Browser detect code
        var ie4=document.all
        var ns4=document.layers
        var ns6=document.getElementById&&!document.all

// Global varibale definitions:

   var dn = "";
   var mn = "th";
   var old = "";

// This array controls how often the clock is updated,
// based on your selection in the configuration.
   var ClockUpdate = new Array(3);
      ClockUpdate[0] = 0;
      ClockUpdate[1] = 1000;
      ClockUpdate[2] = 60000;

// For Version 4+ browsers, write the appropriate HTML to the
// page for the clock, otherwise, attempt to write a static
// date to the page.
   if (ie4||ns6) { document.write(''); }
   else if (document.layers) { document.write(''); }
   else { old = "true"; show_clock(); }



//////////////////if functions to change color of font acordingly//////////////////////
      if (day == 0) { myfont_color = "#00ff00"; }
      else if (day == 1) { myfont_color = "#82ff00"; }
      else if (day == 2) { myfont_color = "#ffff00"; }
      else if (day == 3) { myfont_color = "#ff7d00"; }
      else if (day == 4) { myfont_color = "#ff0000"; }

// The main part of the script:
   function show_clock() {
      if (old == "die") { return; }
   
   //show clock in NS 4
      if (ns4)
                document.ClockPosNS.visibility="show"


   // This is the actual HTML of the clock. If you're going to play around
   // with this, be careful to keep all your quotations in tact.
      myclock = '';
      myclock += '';;
      myclock += DaysOfWeek[day];
      myclock += Alliance[allianceactive];
      myclock += '';

      if (old == "true") {
         document.write(myclock);
         old = "die";
         return;
      }

   // Write the clock to the layer:
      if (ns4) {
         clockpos = document.ClockPosNS;
         liveclock = clockpos.document.LiveClockNS;
         liveclock.document.write(myclock);
         liveclock.document.close();
      } else if (ie4) {
         LiveClockIE.innerHTML = myclock;
      } else if (ns6){
         document.getElementById("LiveClockIE").innerHTML = myclock;
                }           

   if (myupdate != 0) { setTimeout("show_clock()",ClockUpdate[myupdate]); }
}
    setTimeout("show_clock()",1000)


very messy i know  but this is all i need now how can i change the daysofweek and alliance variable without opening the FTP server so basicly doing it form an external source
i know its very messy concidering i edited it wioth no knoledge of it what so ever lol
anyway can some one help please?would i be able to make a txt file and type like DEFCON 5 in it and the script take the text from that document ind save it as a variable?TBH, I'd say you'd be better off going to a webmaster-only forum to solve an issue such as this. It will have more helpers, some of which might have dealt with this "DEFCON" before.I didn't post because I haven't got a bloody clue what he's trying to do.

I thought I almost understood what he wanted, until he posted the live clock code.Same here actually, exactly the same.
639.

Solve : Best hosting option?

Answer»

I'm wondering if I should have my own dedicated web server or HOST it externally.  I'd like to know the pros and cons of each one.  I'm sure there are very good reasons for each one.Dedicated server:
- Expensive
- Gives you COMPLETE control
- More work unless some company manages it for you
- A lot of time involved
- Sometimes you can pick what specs the server has

Shared server (standard hosting option)
- Easy to SET up
- Cheap(er)
- Usually a range of good options
- Completely managed for you


What kind of website is this?It's for a company which is a farm.Go daddy.com is best option for you.GO daddy.com is best.[removed]  is the best..This is the REPUTABLE company which provides the web hosting packages.It's also reliable one.You can also host your site here.


Your site has now got a red WOT rating.
-kpac Quote from: Fleexy on May 16, 2010, 03:06:36 PM

I'm wondering if I should have my own dedicated web server or host it externally. 
I get the impression, when you SAY "my own dedicated web server", you mean internally hosting a site.  While that's possible, I would not recommend it.  In kpac's first reply, his referral to "Dedicated server" usually means an external hosting service which dedicates a computer to your website. 

kpac's discussion of Shared server is also external hosting but involves multiple websites being hosted on one computer.  This works fine for small websites and I imagine it would be quite sufficient for your company's website. And, the cost is quite low.  Many hosting services costing $5 or less per month can be found and they are reliable hosting services.
640.

Solve : link help?

Answer»

If I use  HTML  I make a link like this

Code: [Select]<A HREF="index.html">
TYPE text here.
</A>
Would this be the same WAY EVEN in  CSS???Use the code tag when posting any kind of code, please.

I have no clue as to what you mean. Please re-phrase.Do I creat a HYPERLINK the same way  is the  code the same  in  CSS?http://w3schools.com/css/css_link.asp

Does that look familiar?No this tells me how to Style a link.

I ment if I want to link to say  pag5.html    what is the code??Start again, please. Explain in detail this time. Quote from: nymph4 on June 17, 2010, 02:05:35 PM

No this tells me how to Style a link.

I ment if I want to link to say  pag5.html    what is the code??

if you want to link to a different page you change the href attribute.Say I want people to CLICK on some text and have it take them to another page. Do I do this code

Code: [Select]A HREF="page5.html">
click here to go to page 5
</A>
Is this the code I would use in  CSS  to make the Hyperlink    or is this just  an HTML  hyperlink?Do you read the replies to you at all?

Code: [Select][b]Use the code tag when posting any kind of code, please.[/b]I don't know what is wrong with you when it comes to following instructions and reading answers to your questions.

Quote
Is this the code I would use in  CSS  to make the Hyperlink    or is this just  an HTML  hyperlink?
That code is HTML, not CSS.
641.

Solve : don't know how to make my pages right in IE?

Answer»

I wrote my pages from using Google Chrome, the browser I suppose is YaHoo.
The site LOOKS great in my opinion and in my browser. But I decided to look at it in IE and some images have BLUE BOXS around them. I reckon I can go to each page and add
border="none" to each img tag, that'd be a lot of work
Also I have some images across the very top of my pages, straight row across. In IE, the 2 images at e left top are where they're are supposed to be but the images to the right of them are down about an inch.
Also, I used   align="right"  for some images so that I could have text to the side. In IE, the images move left and cover up the text and the nav buttons have moved too

Am I hallucinating. or just dumb to how things work? can anyone HELP me at this point with some advice and knowledge? Thanks for any help!!  JD (John)
http://mountaindream.freeoda.com

642.

Solve : Need help changing font color in chat room??

Answer»

There is a website called mocospace that has chatrooms. When I go into the chat people are using colors not READILY available and when I ask them how they are doing it, they won't tell me. I TRIED hex codes using font wraps but it doesn't work. Does anyone know how to change the font colors in chat rooms, and if so, COULD you please explain to me step-by-step how to apply it? Thank you.Change them through your DASHBOARD.

http://www.google.com/#hl=en&ei=lf7_S7dUifzTBOmPwPcC&sa=X&oi=spell&resnum=0&ct=result&cd=1&ved=0CBQQBSgA&q=change+mocospace+chat+room+colors&spell=1&fp=243d23481b769df6Somebody just GAVE that answer to get the points. It's not accurate there is no "dashboard". It's done by html, but I can't figure out how. Thanks for trying though .

643.

Solve : not connecting to MySQL database?

Answer»

I am using 000webhost.com as my free and trial web hosting. When I try to connect to the database server, it says Access denied for the [email PROTECTED]

(I have replaced the servername, userid and password with my actual and correct information)

$con = mysql_connect("server name","userid","password");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

echo "Connected to database";
?>
Well if access is denied, it simply means you have a wrong username of password. The host/server is usually localhost - is this what you used?no. 000webhost is telling me not to use 'localhost' and they give their own host name which I am using. But still not working.Try setting them as variables first.

Code: [Select]<?php

$host = "";
$user = "";
$pass = "";

if(!$con = mysql_connect($host, $user, $pass)
{
  die("Could not connect: " . mysql_error());
}

?>
Same error. No change Have you tried changing your username or password?I did but it didn't work still I don't know so...

Maybe you should try contacting them DIRECT or try their forum.This happens to everyone, and pretty much no one has FIXED it, or got it to work.Please ANYBODY reply... I am still facing same problem. Is there anyone who has confronted such problem and solved it Did you contact their support?of course kpac. I have made EVERY possible effort from my side. I contacted two hosting services, but neither could solve my problem. They just said that don't use "localhost" in place of hosting server name. I told them that I am already not doing that... Then they asked to contact some professional....I am using the same 000webhost.com

I am using the below method and it works fine



   mysql_connect("mysql123.000webhost.com", "a701646_dbusrname", "pass") or die(mysql_error());
   echo "Connection to the server was successful!
";

   mysql_select_db("a701646_dbname") or die(mysql_error());
   echo "Database was selected!

";

$result = mysql_query("CREATE TABLE `users` (
  `id` INT(11) NOT NULL AUTO_INCREMENT,
  `name` VARCHAR(100) DEFAULT NULL,
  `city` VARCHAR(100) DEFAULT NULL,
  `web` VARCHAR(100) DEFAULT NULL,
  `age` SMALLINT(6) DEFAULT NULL,
  PRIMARY KEY  (`id`)
) ENGINE=INNODB DEFAULT CHARSET=latin1");

echo $result;
?> Thank you very much Bukhari. It is working.

The difference I see here is that you are not assigning mysql_connect to a variable and directly doing it. Don't know whether this is a problem or what else?

Anyways, Thank you very much.mention not

welcome

644.

Solve : IE8 Accelerator?

Answer»

has ANYONE used the the MICROSOFT IE8 ACCELERATOR for a weblog

645.

Solve : how to import text from a file over a psd?

Answer»

i want to make a web site and i did all the work in photo shop and sliced it up with rollovers and brought it into dream weaver.  how can i set up a folder to LOAD TEXT from and place it into the design? iv done this with FLASH but not with html.

this is so my CLIENT can change the info on the page himself from his home computer.

thanks a lot.

646.

Solve : inline css help?

Answer»

am I right that the inline cone will go like this for a Paragraph

This is a paragraph.


Well that won't work because you have an EXTRA " in there.

Code: [Select]<p style="color:white;font-family:Times New Roman, Arial, serif;font size:20px">This is a paragraph.</p>
Thank you but I just want TWO Font Types so can I use this

This is a paragraph.

Yes.thanks for all the help just two more things about Fonts???

One if I want my Text to have a Black Box arount it do I use this?

This is a paragraph.



And say I want every bit of text on my page to be that same font and Size  can I just do this at the start


then at the end of the whole page before the BODY tag I put 



Will this take car of all text in my Page  I know if you have any text in Table Cells it WONT work on them because you have to do them one at a time.

But what if you have a lot of text for LINKS all over the page? Quote
One if I want my Text to have a Black Box arount it do I use this?
<p style="background:black;color:white;font-family:Times New Roman, Arial;font size:20px">This is a paragraph.</p>
Why not just try it and see what happens?

Quote
And say I want every bit of text on my page to be that same font and Size  can I just do this at the start
<p style="color:white;font-family:Times New Roman, Arial;font size:20px">
then at the end of the whole page before the BODY tag I put  </p>
No, then you just add the style to the tag.

Code: [Select]<body style="color:white;font-family:Times New Roman, Arial;font size:20px">
  ...
</body>
I use this inline code to make my Font  the type I want and it works.
It make the text in a black box and it works.




Main Page.



But I want to put say two of these right next to eatch other like this.




Main Page.





Page Two.



The only thing is the Black Box that the text is in  goes all the way across the screen  so it put the next Link right under it.

How can I just have the Black Box go just as long as the text???You can add styles to ANY HTML tag. It doesn't have to be

.

Just use this.
Code:
[Select]<A HREF="index.html" style="background:black;color:white;font-family:Times New Roman, Arial;font size:20px">
Main Page.</a>

<A HREF="index.html" style="background:black;color:white;font-family:Times New Roman, Arial;font size:20px">
Page Two.</a>so if put use it like this


Main Page.[/
URL]


Page Two.[/url]

will it place both these links right next to eacth other   this is what I want???
Try it.I know I can ad  a style command in the HEAD Tags to get my fpont on the whole pag to be whatever I want.

But I see that wen I have text inside a Cell in a table it wont efect it.

Now I know I can do  inline  css  to get the text in the Table Cells to look how I wont.

But is this Normale??

647.

Solve : Problem with DIV tags?

Answer»

Okay, so here is my problem:
I'm a picky web designer who does not like massive empty space, so I refuse to center layers. (There, I admitted it).

Anyways, on this website I am creating, I've come across an issue. The text is so close to the LEFT side of the browser that it is hard to read, ESPECIALLY if your monitor goes past the sides by just a little bit.

Check out what it looks like:
http://zylblog.info/waterville/

How can I fix that sort of problem? well, the top-level div is set to:

Code: [Select]<div id="container" style="left: 0PX; top: 0px">

if you remove the style= ATTRIBUTE, then the browsers default margin settings will be used.

you could then change the div to read:

Code: [Select]<div id="navigation" style="left:0px;top:0px">
so that the menu is left aligned; same for the footer div.


I don't use dreamweaver or any other "design" software and create all my pages myself via CSS,HTML and PHP, so I don't know how you'd do this in Dreamweaver (short of manually editing the code); I'd imagine these settings are buried somewhere, though.
Use "padding-left" style property to all the tags which placed on left side....... this will give some space for the content with the tags, but the tag placements won't change. ( you said you won't like empty space )Set the body and html properties a margin and padding of 0. Then set the #container div's padding values. Quote from: kpac on April 23, 2010, 10:11:19 AM

Set the body and html properties a margin and padding of 0. Then set the #container div's padding values.
Such as this?

No, they're position properties. Code: [Select]<div id="container" style="padding-left: 5px; padding-top: 5px">You should creat a div which cover all other divs. And then set margin-left of your choice.


Marry
no spam, thanks
That worked perfectly!
Sorry for my delay, I took some time off and I forgot to check back.

Best,
Jesse Zylstra
set your margin. to run the div tag.This has already been solved, thanks.Q. How do I fix my margins?

A. Fix your margins.


Now THAT is support! 

648.

Solve : Images/Nav Shift when Browser Resizes?

Answer»

Hello!

I am very much a beginner with coding, so I am unsure of which CSS elements to change to keep my navigation and images in place. Any help is very much appreciated! Here's the gist:

To display a list of thumbnails, I created a grid of images. When I resize my browser window, these images shift with it. What position or float tags should I alter, or what other coding should I use, so that these images are static and stay put when the window is resized?

The issue arises again with my navigation bar. The links span the window, but upon resizing, they shift.

Here is a link to my website. (It's still in DEVELOPMENT, so any links take you to the under construction page). I've been using Firefox exclusively, so I apologize for any errors other browsers may receive.


Here is the code for the grid of images:

Code: [Select].boxgrid{
width: 250px;
height: 250px;
margin:10px;
float:left;
background:#FFFFFF;
border: solid 2px #ECD842;
overflow:HIDDEN;
position: relative;
}


Here is the code for the navigation:
Code: [Select]/* MENU */

#menu {
position: static;
width : 100%;
background-color: #EDD043;
}

#menu .container {
margin: 10px 5px 5px 270px;
padding: 20px 0PX 10px 0px; }

#menu ul {
float: left;
width: 160px;  /* the width of each column in the menu */
list-style-type: none;
overflow: auto
margin:0px 0px 0px 0px;
padding: 0px 0px 0px 0px;
}

#menu ul li.section-title { /* property of the section titles */
color: BLACK;
font-family: Arial, Helvetica, sans-serif;
text-align: left;
width: auto;
font-size: 8pt;
font-weight: BOLD;
padding: 0px 0px 0px 0px;
margin: 0px 0px 2px 0px;
}


#menu ul li {  /* property of the projects/exhibitions titles */
font-family: Arial, Helvetica, sans-serif;
color: #FFFFFF;
text-align: center;
font-size: 25pt;
width: auto;
margin: 0px 0px 2px 0px;
}

#menu ul li.active { 
text-decoration: underline;
}

#menu p {
color: black;
width: auto;
font-family: Arial, Helvetica, sans-serif;
text-align: left;
padding: 0px 0px 0px 0px;
                   margin: 0px 0px 0px 0px;
}

#menu ul a:link {
text-decoration: none;
color: white;
}

#menu ul a:active {
text-decoration: none;
color: white;
}

#menu ul a:visited {
text-decoration: none;
color: white;
}

#menu ul a:hover {
color: white;
}

649.

Solve : drop down menu in css or Java?

Answer» HELLO

I am making a website and i want some of my links to be a drop down menu.

Does ANYONE know any websites that can teach me how to make a drop down menu. Take a look at http://www.leigeber.com/2008/04/sliding-javascript-dropdown-menu/.  From there, you can download some javascript already coded for a menu.Also TRY DynamicDrive and JavascriptKit.drop down menu USE in JAVA.
650.

Solve : Registration set up?

Answer»

Hi folks,

I've just been reading through here to see if I can find this question already asked, but can't.

I RUN two small, basic websites (no proper training - LEARNED through TRIAL and lots of error) and I use FPE 2003 to do it.

Would it be possible (and how advanced will it be) to make a site accessible only by registering and logging in?

Cheers in advance.Though not as easy as you might think, it's possible. A login/logout system would usually require a database of some kind. You will also need to use some server-side programming language such as PHP or ASP.

If you know the basics of PHP or ASP, search the net for a user system in that language.

Have you thought about a Content Management System?If you are familiar with ASP the following link will help you

http://msdn.microsoft.com/en-us/library/ff184050.aspx

I had already created those basic security things. There are controls in asp and are designed in such a way that you need not write any code for basic registration and login.......Try above link for more details Quote from: Vikram Varaprasad on May 10, 2010, 11:26:34 AM

If you are familiar with ASP the following link will help you

No it won't. the link is for ASP.NET, not ASP.Thanks for your replies folks.

Sorry for not replying sooner, but I've been very tied up with work lately.

It appears from your answers that I'm EVEN more of a novice than I first thought (I got this impression when I realised that I didn't understand most of what is written ), so I think I'll be leaving it alone and just granting open access. I wanted to avoid this, but I really haven't got the knowledge to deal with this sort of thing.

Many thanks again. Perhaps I'll pick up some tips by reading this forum more often.Well, there's ALWAYS this...
Quote
Have you thought about a Content Management System?