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.

1601.

Solve : Table Missing Text??

Answer»

Just learning how to add a table in HTML

My code looks like this:


BIKES
MANUFACTURER
PRICE





I see the cells, but no wording? What am I doing wrong please?FORGET IT. Just realized my background was black...forgot to CHANGE font color. Sorry.You have some wrong construction there. Try this real basic construct ........ throw it into your browser as an html file, as is .....






MANUFACTURERYea... ChrisXPPro's help should get you sorted.

But if you need more help, I would recommend W3Schools to anyone, no matter how much they know about WEB design.Quote from: kpac on August 11, 2008, 02:58:42 PM
I would recommend W3Schools to anyone, no matter how much they know about web design.

I second that. Even some of us who have been designing for years use this as a regular reference. Web design is something that is constantly growing, changing, and evolving. I started about 10 years ago and I'm still learning new things on a regular basis. And when you start learning more languages, it becomes even more REWARDING!

1602.

Solve : Help with Javascript code!?

Answer»

Well, first of all I noticed a tag problem. You somehow have two "" tags. Your other problem is my fault. The size of the images array should be two, not three. Your current example only has two sets of images and links, but the array is sized at three.Ok, so how do I fix the tag problem? Please give me the exact code how it should appear in my page. Also, how do I make it appear in the green box? Here is the correct code. Of course, you'll have to update the links and images to yours to make it work. Try this code on that test page you used before. If this works I'll tell you how to add the image to the green box.

Code: [Select]<HTML>
<head>
<script type="text/javascript">
function random()
{
//The 2 below can be changed to what ever you want
//depending on the number of images/links you have.
VAR images = new Array(2);
images[0] = new Array(2);
images[0][0] = "image0.jpg";
images[0][1] = "page0.html";
images[1] = new Array(2);
images[1][0] = "IMAGE1.jpg";
images[1][1] = "page1.html";
images[2] = new Array(2);
images[2][0] = "image2.jpg";
images[2][1] = "page2.html";

var index = Math.floor(Math.random() * images.length);

document.getElementById("randomImage").src = images[index][0];
document.getElementById("randomLink").href = images[index][1];
}
</script>
</head>

<body onload="random()">
<a id="randomLink" href=""><img id="randomImage" src="" alt="Random Image" /></a>
</body>
</html>
It does work:

http://www.stringsdepotplus.com/news_01.html

So if you can guide me how to make this work on my homepage that will be great. Also, if possbible how to add the alt text for each image seperately. Place this code between the head tags.

Code: [Select]<script type="text/javascript">
function random()
{
//The 2 below can be changed to what ever you want
//depending on the number of images/links you have.
var images = new Array(2);
images[0] = new Array(2);
images[0][0] = "image0.jpg";
images[0][1] = "page0.html";
images[1] = new Array(2);
images[1][0] = "image1.jpg";
images[1][1] = "page1.html";
images[2] = new Array(2);
images[2][0] = "image2.jpg";
images[2][1] = "page2.html";

var index = Math.floor(Math.random() * images.length);

document.getElementById("randomImage").src = images[index][0];
document.getElementById("randomLink").href = images[index][1];
}
</script>

Add the function call to your body tag.

Code: [Select]<body onload="random()">

And finally, add this code to wherever your green box is.

Code: [Select]<a id="randomLink" href=""><img id="randomImage" src="" alt="Random Image" /></a>
It works!! Here you can see:

http://www.stringsdepotplus.com/index.php


A few questions:

a) How can I add the alt text to each individual image?
b) If I want to add another image to the alternating group, what code do I need to edit?

Thanks!!Quote

a) How can I add the alt text to each individual image?

To add the alt text to each image you can increase the size of the individual arrays inside the main image array to 3. The increased size will give you a place to place the text. You will then have to access the alt attribute of the image tag.

Quote
b) If I want to add another image to the alternating group, what code do I need to edit?

If you want to add another image to the array you must increase the size of the image array.

Code: [Select]<script type="text/javascript">
function random()
{
//The 3 below can be changed to what ever you want
//depending on the number of images/links you have.
var images = new Array(3);

//First image
images[0] = new Array(3);
images[0][0] = "image0.jpg";
images[0][1] = "page0.html";
images[0][2] = "image0";

//Second image
images[1] = new Array(3);
images[1][0] = "image1.jpg";
images[1][1] = "page1.html";
images[1][2] = "image1";

//Third image
images[2] = new Array(3);
images[2][0] = "image2.jpg";
images[2][1] = "page2.html";
images[2][2] = "image2";

var index = Math.floor(Math.random() * images.length);

document.getElementById("randomImage").src = images[index][0];
document.getElementById("randomLink").href = images[index][1];
document.getElementById("randomImage").alt = images[index][2];
}
</script>
It works. Thanks for all the help. No problem. Thats why were here. If you need more help with this or with other Javascript related issues I will be glad to help. I am also pretty GOOD at CSS so if you need help with that I can assist you as well.
1603.

Solve : Need help with html?

Answer»

Hello all,
I am fairly new to HTML. I have pretty much self taught myself what I know of HTML (which isn't much )
I have taken over a website for my company, Updating pictures and content, stuff like that.
The website is in bad shape (done very cheaply, and from what I can tell not very decent job).
It has been pieced and bandaged a bunch. (Wish we could have it redone)
Anyway I'm trying to upload some new images and text. What I have been doing is copy and pasting the code from another set of images and text and then changing the image description and desired text. My problem is that when I copy and paste it, it centers everything below it. I looked for any code that might cause it to center but can't seem to find any. Please help.

Here is the code.
This is with the changes I've made.
The centering problem occurs after the two sets of FOUR images.
With only the original set it is fine.
The origanal set is the second one down.












Used Products - Stretch wrapping















alink="#666666"leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0" marginheight="0" marginwidth="0">















[/url]

[/url]

[/url]


(503) 760-1280    Portland Office
(877) 740-1280    TOLL free
(503) 760-7063    Fax
































src="images/spacer.gif" height="10" width="15" border="0"alt="">




























Stretch wrapping















Click picture to VIEW ENLARGED image.























[/url]



[/url]



[/url]



[/url]



Item# 3020 WCRT-200 Automatic overhead, 30rpm, 30" prestretch carriage, 3 infeed conveyors, 3 outfeed conveyors, 1 process conveyor, Auto greaser, AC drives, MAX load size: 48"Lx48"Wx80"H, 4000lb cap..



Stretch wrapping.













[/url]



[/url]



[/url]



[/url]



Item# 1008 ITW MIMA Model # Cobra XL.



Stretch wrapping.













[/url]



[/url]



Wulftec High Profile Stretch Wrapper. Excellent Condition. 275% Prestretch.



stretch wrapping.










[/url]



[/url]



Orion stretch wrapper.Model#H-66-7. Good condition



stretch wrapping.






































 


 










please reduce the code you have pasted into the forum, remove the stuff that you KNOW isn't the problem; please also set a flag in the code you re-post indicating where you pasted in your new code, which, if I am understanding correctly, may have set the centering. Quote from: yanng1 on February 06, 2009, 10:06:37 PM
please reduce the code you have pasted into the forum, remove the stuff that you KNOW isn't the problem; please also set a flag in the code you re-post indicating where you pasted in your new code, which, if I am understanding correctly, may have set the centering.

Good idea. It's impossible to read through all that at the moment.Sorry for the long post. I wasn't sure what was needed. Here is the section with the problem.
Everything after this is centered.






[/url]



[/url]



[/url]



[/url]



Item# 1008 ITW MIMA Model # Cobra XL.



Stretch wrapping.










1604.

Solve : Javascripts - Enable it vis HTML code?

Answer»

Quote from: CBMatt on August 11, 2008, 08:02:41 PM

And by the way, you might want to ignore anything squall_01 says. Unfortunately, he doesn't know what he's talking about when it comes to anything.

LOL! You have some neck....! Quote from: kpac on August 12, 2008, 03:15:48 AM
Quote from: CBMatt on August 11, 2008, 08:02:41 PM
And by the way, you might want to ignore anything squall_01 says. Unfortunately, he doesn't know what he's talking about when it comes to anything.

LOL! You have some neck....!

When I see someone constantly trying to give USELESS advice without having any knowledge of what they're talking about, I start to get a little irritated. And let's face it...I can be a bit of an *censored* times as well. Heh.Thanks CBMatt
You are right...I upload the page to my local IIS ..test it... no such problem.

Regards
No, I forget its been a while since I messed with javascripting. This point I dont have alot of time to do such. Quote from: squall_01 on August 15, 2008, 02:33:42 PM
No, I forget its been a while since I messed with javascripting. This point I dont have alot of time to do such.

Well, by reading this thread, it's OBVIOUS that you have no idea what you're talking about. Personally, I don't think you should even bother with posting at all if you can't help. In fact, I have never seen you actually help with anything. I know that when you're a teenager, it's cool to look like you know everything, but you're not fooling anyone. Maybe you should work on improving your English and wait until you're about halfway through high school before you start worrying about trying to help people. You need to be able to help yourself first.That would be funny if it where true. I'm a COLLAGE sophmore. I'm about twenty so it wouldnt be funny if you read some of my post. Also, I do help people. Just havent had any luck yet, with doing other things an problems that had been resolved I COULD have done.I don't know what kind of school you claim to go to, but most schools around here teach grammar and spelling; you may want to look into that. Although, you did say "collage"...maybe you're just really good at pasting magazine clippings onto posterboards. In that case, I'm very proud of you for reaching a Sophomore level of collage-making!



Quote
I'm about twenty so it wouldn't be funny if you read some of my post.
What post? What in the world are you talking about? I already don't think it's funny to read any of your posts because quite frankly, I find them to be headache-inducing.


You've GOT over 2000 posts and all you have managed to do is confuse people and get in the way. If you have some sort of learning disability, I'm sorry that you have to struggle harder than the rest of us, but it's no excuse to continually muck things up. Despite how it may appear, I'm a very nice guy and I generally like people, so I'm willing to give you the benefit of the doubt. If you truly do know anything about computers and wish to help out, at least hire an interpretor so people can know what you're talking about.To everyone who reads this: I apologize for behaving in such a manner. This sort of discussion isn't meant to be public and I am setting a bad example here. I'm very stressed and tired, and it's making it hard for me to keep things to myself.

And I apologize to you as well, Squall. I'm not going to take back anything I said, but I am going to try to no longer perpetuate this. If I must say something in the future, I will try to be more civil.

I'm going to go ahead and lock this thread so it can eventually drift away...
1605.

Solve : screen width problem?

Answer»

I have a problem in webpage that all things are OK in making webpage but there is problem of
screen width. I make a webpage in the formt of 15" inche monitor but when I was open in
17" inches monitor the formating of webpage is disturb. Please help me to solve this problem.I don't know but I think it depends on the resolution of the computer with the 17" monitor.The problem is that you are using an old-fashioned way of designing pages. Instead of setting dimensions with pixels, you should set them with percents. If I were you, I would brush up on HTML design...and while you're at it, you should also learn how to USE CSS.Thank you. I know little about computers. I guess I'll have to get my sister over here again to help me out again. THANKS again - SandiYou have two forum accounts?


In any case...it should be a simple thing to fix. Just toy around with it for a bit. For instance, if something is set to 500px, try setting it to 40% instead. Once you play around with it for awhile, it becomes pretty easy.While Matt makes a point - your mention of ........

Quote

but when I was open in 17" inches monitor the formating of webpage is disturb.

I am thinking in fact you are already in % settings altogether - which means what you set up for full screen 15", this becomeswhen viewed in 17" full screen - everything SEEMS to''stretch'' to fill and so what looked ideal formatting before becomes altered.

Sometimes I do find that it is easier to work to a limiting ''containment'' - in CSS we'd call it a wrapper - or in straight html a fixed size table ..... just under 600 if you want folks on 800x600 not to have scrolling - or a bit under 1024 to suit many who use 1024x768.

Within that containment... you can then use % much as you like within because it will be ''held in''. Many TIMES when image vs text placement is critical then IMO anyways - fixed sizes have their uses.
1606.

Solve : HTML - content on homepage moves when screen minimized?

Answer»

Hi

I`m building my first WEBSITE this weekend and have nearly finished it but when I minimise the SCREEN on the Home PAGE all my content moves and overlaps to the centre of the screen. The navigation BAR and a row of photographs form a column down. What have I missed? What HTML do I need to keep everything in its place?

Thanks Can you post the code you have or a link to the site.

1607.

Solve : what are the best options to learn software programming?

Answer»

i am not a programmer and want to learn programming and dont know how to do that and whether there are any websites which can help me out with that.




guys !!! please help me with that.Quote

whether there are any websites which can help me out with that.
We can point you the right direction and give you websites to help you but we need to know what Programming Languages you want to learn?I what are the different programming languages. can u suggest me a programming languages which will help me in my real life to use them commercially.





have a great day.Quote from: shersingh on August 16, 2008, 10:03:43 AM
I what are the different programming languages. can u suggest me a programming languages which will help me in my real life to use them commercially.

Yea, but what exactly do you want to do with the language? Game/software creation?It would ALSO be HELPFUL for us to know what you already know?There are tons of different languages...some of them do similar THINGS, some of them do completely different things, and some of them are used together. You sound like you're probably a novice, so I think the best thing for you would be to sign up for some courses at your nearest community college. Or it doesn't even have to be LOCAL. Cerro Coso has many great online courses (so do other schools, of course, but this is one I'm familiar with). This would especially be helpful if you wish do this for a profit. These days, it's very difficult to get work without proper SCHOOLING or a significant amount of prior experience.
1608.

Solve : Help with Forms and User-created webpages on my site?

Answer»

Hello, I design simple WEBSITES that look REALLY good. I am not sure how to even ask this question but is it possible to create a website with a form that users can complete to instantly create their own page on my site. Basically a user WOULD go on my site complete a form that then create their page into a set template on my site. Maybe there is software that does this or a website or is this high level programming stuff that I simply couldn't do. What is this called? Thanks all! Yes, that would be fairly advanced.

If you have template designed, it shouldn't be too DIFFICULT, but would need to use PHP or ASP etc.

1609.

Solve : uploaded website is text only?

Answer»

i just finished making a website with a downloaded template. I finally uploaded it to bluehost and the only thing on my site is the text. no PICTURES or template at all. the template says that it is xhtml, is there a difference from html and therefore not compatible with bluehost? i made it with kompozer and it has also switched back to text only. a little advice would be appreciated. Can you post a large chunk of text from a smaller page maybe? Might help to see that and include the whole top section with header.

I am assuming you have all your paths correct???this is the filler text from the template. i tried to upload it again exactly as i downloaded it to see if while filling in my text i screwed something up. but it still didn't work.

Coffee N Cream
Vestibulum Suspendisse Elemen Maecenas Sodales
Porttitor posuere
Jun 13, 2006 by Vulputate
In hac habitasse platea dictumst. Duis porttitor. Sed vulputate elementum nisl. Vivamus et mi at arcu mattis iaculis. Nullam posuere tristique tortor. In bibendum. Aenean ornare, nunc eget pretium porttitor, sem est pretium leo, non euismod nulla dui non diam. Pellentesque dictum faucibus leo. Vestibulum ac ante. Sed in est.

That doesn't help a whole lot!!

I meant copy and paste html code! Sorry - shouldn't have said text!

I am still thinking paths etc - and is there a CSS file with this template?well i guess that would make more sense. haha sorry. here


http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">






Coffee N Cream









Coffee N Cream





Vestibulum[/url]
Suspendisse[/url]
Elemen[/url]
Maecenas[/url]
Sodales[/url]


OK - well - the ref to the template is a path to your C drive. I'd expect that to be pulled up from server, somewhere. Not familiar with those templates but anyways - on the web a link to your hard drive is not gonna do anything - mind you that is before head starts so - maybe just a ref like sometimes there is a ref to a word doc etc. Maybe it doesn't matter.. not seen that one before.

Ok so - you are calling a style sheet - is that present in your web root? It'll have to be there by that name to be loaded and that will PROBABLY do your background color etc as well as various classes and divs.

I see no code referencing images - need to see that.

1610.

Solve : Object Persistence??

Answer»

Is there object persistence in PHP 5?

I ask because it seems that with all the ASSOCIATED memory overhead with OOP, I am wondering if there is another reason for PHP to GO OOP besides MAINTAINABILITY.
I'm not EVEN gonna ask

1611.

Solve : Need help to finding a program like this...?

Answer»

Hello i really need a tool that will make it easier for me to paste linked words on a FORUM. Let's give an example:
I am writing about a soccer player called Ronaldinho, Gilardinho and Milan Baros...
So it's like this *on forums that allow you to write GIlardinho and when you click it, it will make you go to another site that contains a picture of him or something* if you paste this on a normal mybb forum it will show you the name of Baros and when you click it, it will take you to a picture of him: http://cache.daylife.com/imageserve/06Os4wY8S62JX/340x.jpg
So yea...
What if i have about 100 links that i want to do and i can't of course be bothered to make these say Baros and then [/url] to all of them... is there a PROGRAM where i can paste all the words that i want it to say and makes a link so others when they click it it will take you to picture of him *of course i will upload the picture and give the url to the program* is there such a thing? Cause it will save me a lot of time... Thank you, and if you didn't understand make sure to ask

P.S: What i mean is that On one side i want to write all the things i want to say and on the other side i want to put all the picture links and then when i press ok or something it automatically sticks both sides together.PLEASE HELP!?you could write a small batch program that has the names and links as inputs and url list as outputs, though with a few hundred links it sounds like you're spamming.

FBi dont see any way of doing that, that makes it any less WORK. it sounds like as much work as you think it is, or maybe more. basically all that data, and the pictures, need be set into a DB, then referenced by script. its certainly doable, although i ADMIT i dont totally follow what you are trying to do

1612.

Solve : submit button to act as link?

Answer»

Hi guys,

I have a drop down box via the tag and then a SUBMIT button next to it.

I want it so that if the drop-down shows "page 1" or something and then you hit "submit" it links to page 1. Same for "page 2" etc..

Is this possible, and how can I do it please!

Thank you for any replies posted!It is most definitely possible. And it's relatively simple. However, this sort of thing is typically done with PHP. If you would like, I [or another member] can explain how to do it. Or you can use a generator such as this one:
http://www.htmlbasix.com/dropmenu.shtml

(You may need to use Firefox to view that page.)You can also leave the submit button out and use the onChange functionAlso have a look at Dynamic Drive and JavaScript Kit. They have all the JavaScript codes you will ever need.I personally think this is much easier to do with PHP, but I guess we all have to what works best for us.I've known JavaScript for longer.... But PHP is propably easier. I've actually known JavaScript longer as well, but I found it MUCH easier to get into PHP. They're both great, of course, but I think I'm probably a little biased.Something tells me you should create an array, use the onChange function to CHANGE a value, and have the submit button GO to a different place depending on the value --matching the array data.

I don't KNOW javaScript, only actionScript.Quote from: GolemdS on August 18, 2008, 10:36:23 AM

Something tells me you should create an array, use the onChange function to change a value, and have the submit button go to a different place depending on the value --matching the array data.

I don't know javaScript, only actionScript.

Thanks for the INPUT, but it seems kop442000 hasn't visited for a while.I am a javascript learner. So I type all this code.
there is 4 files :page1.htm,page2.htm,page3.htm,and index.htm ,please place them in the same forlder.

page1.htm:
Code: [Select]page1 haha...page2.htm:
Code: [Select]page2 herepage3.htm:
Code: [Select]this is page3index.htm:
Code: [Select]<html>
<head>
<title>page changer</title>
</head>
<body>
<iframe name="target_window" src="page2.htm">
</iframe>
<select name="sel"
onchange="document.all.target_window.src=sel.options(sel.selectedIndex).value;" >
<option value="page1.htm">page1</option>
<option value="page2.htm" selected>page2</option>
<option value="page3.htm">page3</option>
</select>
<br>
<input type="button"
onclick="window.open(document.all.target_window.src,'_blank');"
name="btn" value="View this page in new window"/>
</body>
</html>
I display new page in iframe!

first I forgot to add the button
1613.

Solve : Frontpage Help?

Answer»

I know Frontpage was discontinued, but it's what my company provided me with to build a small intranet SITE. The site is currently just a BUNCH of buttons that link to reports all over the public drive. A "centralized reporting website".

My question is, is it possible to CREATE "personalized reporting" for each user, so WHENA certain user goes in everyday, they only see their reports, and not ALL reports?

If so, can you lead me in the right direction and I can research further?

Thank you.Sounds to me like you have a requirement for a database driven website. You can't do that with FrontPage alone. I just read your PM from last night, and look at you....
Congrats on passing 6,000 mark Quote from: Broni on August 19, 2008, 06:21:33 PM

I just read your PM from last night, and look at you....
Congrats on passing 6,000 mark
Thanks. Almost HALF your count. why don't you use ASP (develop with notepad)?
It seem you can use the cookies to deal with it.Quote from: Broni on August 19, 2008, 06:21:33 PM
I just read your PM from last night, and look at you....
Congrats on passing 6,000 mark
Something I just realized......why did you post that in a topic I never posted in? Quote from: Carbon Dudeoxide on August 20, 2008, 08:53:38 PM
Something I just realized......why did you post that in a topic I never posted in?

I just noticed that now too.... Weird.....
1614.

Solve : banner imagee not showing up?

Answer»

I posted banner on my website for people to put on their pages and included the html code they need to copy in order to post it but when I tested it out only a empty box with a little TRIANGLE design in the upper left corner came up. I tried the url where I have the image at and it showed up with no problems. Heres the code I'm using:

<p><center><img scr=http://i41.photobucket.com/albums/e287/throughthefireofrsd/banneranimated.gif" width= "340" border="0" alt="ThroughtheFireofRSD.com" title="Through the Fire of RSD" /></center></p>

and this is my site if you need that at all:
http://www.throughthefireofrsd.org
Its on the "Ways to Help" page.

I'm also having problems making my site accessible for all browsers. I used browsercam to view it w/different screen resolutions/browser combinations and on some, things overlap. I don't know much about html or css and I've tried searching for ways to fix it but no luck YET. Any help is appreciated:) Thank you for your time!

-Tabitha
You're missing a quotation mark...

Code: [Select]<p><center><a href="http://www.throughthefireofrsd.org"><img scr="http://i41.photobucket.com/albums/e287/throughthefireofrsd/banneranimated.gif" width= "340" border="0" alt="ThroughtheFireofRSD.com" title="Through the Fire of RSD" /></a></center></p>
Does it work if you use this code instead?I agree with Matt - the missing quotes are needed.

But also - suggestion - why not put the image on your server and link relative to that instead of hot linking to photobucket.

Re cross-browser problems .... sorry to say but if you have CSS in there then you will find some hassles with some browsers - the ''box model'' is not consistent. A quick cheat is to use tables for layout and just keep CSS for formatting within those.

Vist - http://www.w3schools.com and check up on some of your html and CSS aspects - much useful info there.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Just brought up your site - looking at source I see no external style sheet referenced but in the I see a closing tag for - seems not needed to me. I do tho see many in line style statements ..... including position absolute etc .... much possibility here for cross browser problems. Better would be to use all style statements in an external style sheet and, perhaps cheat a bit by setting up this stuff in tables until you get more familiar with CSS.

One other option with that links setup - make up an image with those links and then map the regions ... as long as you can integrate that within the whole ... there is always more than one way to skin a rabbit!

Sorry to see how much Tabitha has suffered.I totally overlooked the browser question! Chris' suggestion may work (although likely not in Firefox 3), but I always think the best solution is just go out there and actually learn how to do all of this stuff. Personally, I think CSS Mastery by Andy Budd is a great book and it is what I usually suggest to people trying to get into HTML/CSS. And because you already have an idea of how to use HTML/CSS, I think this will be a really good book for you.

Of course, W3Schools is an excellent reference (and it's free!), but I always find that doing this stuff out of a book is much more helpful. It forces you to actually type all of the example codes, which helps you get used to the structure and format.One more thing, but it may be just a TYPING error here:
Quote from: notanotherxerox on August 22, 2008, 08:06:56 PM

<img scr=http://i41.photobucket.com/albums/e287/throughthefireofrsd/banneranimated.gif" ..... />

"SCR" should be "SRC". Thanks so much guys! Somehow I completly over looked the quotation mark, its fixed now and works right. I knew all along that editors can cause a lot of problems but I had to get the site together really fast and wouldn't of been able to with my limited knowledge but ever since then I've been trying to learn more so I can do everything on my own from now on. I'll definitely look up that book Matt.

When I first was trying to post the html for the banner, I had it on my server but I didn't know what the img src would be so I figured with photobucket I would know exactly what to put. I plan on changing it once I get more familiar with all this stuff.

All of your suggestions are really helpful and look forward to working with them today:) You'll probably get more questions from me as I do, haha. Thanks again!!! Your welcome... Well, for my help anyway.

Be sure to come back if you have any problems.Quote from: kpac on August 23, 2008, 03:17:17 AM
One more thing, but it may be just a typing error here:
Quote from: notanotherxerox on August 22, 2008, 08:06:56 PM
<img scr=http://i41.photobucket.com/albums/e287/throughthefireofrsd/banneranimated.gif" ..... />

"SCR" should be "SRC".

Ha ha, I would say that I can't believe I didn't notice this...but after all of the time I've spent doing HTML, I've GOT to say that I'm not one bit surprised. Heh.


Anyway, I'm glad things are working. If you need ANYMORE help in the future, don't hesitate to ask!Quote from: CBMatt on August 25, 2008, 03:08:08 AM
Ha ha, I would say that I can't believe I didn't notice this...but after all of the time I've spent doing HTML, I've got to say that I'm not one bit surprised. Heh.

Yea, lol, so am I.
1615.

Solve : Insert PHP into page ??

Answer»

I have got my database driven web site I m USING

Code :
$QUERY = "SELECT * FROM $sTableName WHERE ID=$inPageID LIMIT 1";
$_CONTENT = mysql_fetch_array(mysql_query($query));



to insert the content, into the page.

Now if I wanted to add a PHP command into the page (the part thats stored on the database) i m not sure what to do.

can someone help me out here?

Thanks !Sorry, can you explain your question again.

The code you have there won't do anything at the moment.uhhh, ya need some help yes. too much.

beginning php book WOULD be a good idea. try searching google for php tutorials

1616.

Solve : Free utility’s links on my WebSite ??

Answer»

In my website I just want to put some free links (like flash player, Free JAVA Download, activex, Adobe acrobat reader etc. )
Is this fare to put these links to any SITE
Please get my your expert comments.

Thanks…!!
Yes, just link to them, but dont do direct file links.

Its completely legal to link to other sites from your site and PROVIDE your users with recommended software. Thanks a lot "Zylstra"
my only perpose is to just make my site more intractive and, give one stop for all free downloads ..............!!

Thnaks again
Quote from: Zylstra on AUGUST 27, 2008, 02:10:20 AM

Yes, just link to them, but dont do direct file links.

Its completely legal to link to other sites from your site and provide your users with recommended software.

Yep. Actually they would be delighted it you put a link to them on your site.

Good luck.
1617.

Solve : Checkbox in PHP/MySQL rows?

Answer»

Hi

I have a SIMPLE Table (Table1) with 3 fields (ID, Date, Value).

So if I query the DB for a certain date it lists the ID and value of all rows with that date. What I need to do is have a CHECKBOX next to each table row and only the ID & Value of the rows that are checked should be posted to the next page where I will do a SUM to add the values together.

Does ANYONE have any IDEAS on the best way to do this?

Thanks in advanceDo you have any code so far we can work with?

1618.

Solve : HTML Flash?

Answer»

Anyone know of a good site to make a customizable flash profile of sorts, and have an option to embed it into another site using HTML?What kind of flash file do you mean. If you want something worthwhile, you will have to pay for it.just something with tabs that are customizable and can be embedded with HTML, like a playlist from playlist.comNo, sorry, I doubt you'll get something like that for nothing. Are you creating a website?Quote from: kpac on August 26, 2008, 10:57:55 AM

No, sorry, I doubt you'll get something like that for nothing. Are you creating a website?

no, not creating another website at the MOMENT ......i was just looking for something cool to embed in my AIM profile Oh okay.

Then, I think Playlist.com will have to do, unless you want to buy Adobe Flash which is about $1000. i already have it (my dad has connections at WORKS) but anyone who can memorize the code to program flash honestly has no life *cough*i'm learning it*cough*Quote from: EchoLdrWolf316 on August 26, 2008, 05:49:06 PM
i already have it

* Not JEALOUS.... Not jealous.... *

Quote from: EchoLdrWolf316 on August 26, 2008, 05:49:06 PM
but anyone who can memorize the code to program flash honestly has no life *cough*i'm learning it*cough*

Not really.... If you are a web designer, it's your job.... So you're going to remember it anyway.Quote from: kpac on August 27, 2008, 03:20:19 AM
Quote from: EchoLdrWolf316 on August 26, 2008, 05:49:06 PM
i already have it

* Not jealous.... Not jealous.... *


Quote from: kpac on August 27, 2008, 03:20:19 AM
Quote from: EchoLdrWolf316 on August 26, 2008, 05:49:06 PM
but anyone who can memorize the code to program flash honestly has no life *cough*i'm learning it*cough*

Not really.... If you are a web designer, it's your job.... So you're going to remember it anyway.
yah, i know what you mean, HTML was gibberish to me 5 months ago, now its like a second language
1619.

Solve : Alt Body Color??

Answer»

Is there an alternate way (in HTML) to set a background color from inside the BODY? I want to change the color of part of my AIM PROFILE PAGE. There is a place on the page for HTML, and i want to make that specific space LightBlue, i cant use:
Code: [Select]<body bgcolor="LightBlue">because this is a MODULE in the body, is there another way to force color?
use a table.
Code: [Select]<TABLE>
<TR>
<TD BGCOLOR="LightBlue"> <!--your html-->
</TD>
</TR>
</TABLE>



oh, of course, a table thank-youQuote from: EchoLdrWolf316 on September 06, 2008, 05:30:59 PM

oh, of course, a table thank-you

you might not even need the TR and TD elements at all, I just like being verbose. okay
1620.

Solve : Need Help with Dreamweaver!?

Answer»

Hi, I'm working on a website for a fire department and I can't get the popup menus on this page to work. The site is not currently up and RUNNING but here is the page that I'm talking about: http://www.gilbertfire.org/test7.html . I created individual popup menus for each of the links on the header in dreamweaver. When you scroll over them they are supposed to drop a blue menu (popup menu) with more links on each. I built the header and the popup menus first and they worked fine, then I added in everything below the header later and the menus stopped working. I can't figure out why it wont work at all. I do have some other layers on the page but i don't think that should affect anything. There may be a javascript error somewhere but i can't seem to find it. If you have any suggestions or ideas I would love to hear it, please help me.

thanks

[email REMOVED to prevent unwanted spam]I am just looking at the source code ........ first thought - tho NOTHING I think to do with the problem ... is, with all those style statements - you could well put them in an external css file and call that.

Now re the MM_ stuff that DW puts in ....... I don't use that any more for scripting but - as I recall when using their rollover principle in past - you should have a load of jscript in your page area ... or even a link to external js file.

Thus far I'd say you have lost your scripting to drive that menu.

One other option for a menu is ..... http://www.yxScripts.com/ - a GUY who WROTE some very handy menu coding - from which by altering the item descriptions and CSS enable you to make all sorts of looks. Freebie BTW - as long as credit link given. See example HERE on one of my sites.Need scripts?

Dynamic Drive

1621.

Solve : PLEASE HELP! IE7 isn't being displayed properly?

Answer»

I recently created a NEW profile for windows because my old one wasn't working properly. I managed to successfully transfer over all the files I needed, but internet explorer has a few kinks because I guess the software DIDNT update. Many of the pages I TRY to view have all the letters and images skewed to the left of the page and are semi out of order. But for other pages, everything looks fine but I'll get this error message pop up.....

This page requires AC_RunActiveContent.js

I'm sure that there's some kind of software update I need to do, but I have no idea what it would be. Any help would be much appreciated. I'm new to this, but I could provide a pic of it if further explanation is needed. Thanks in advance.Use google first PLEASE:
HTTP://www.google.ca/search?q=This+page+requires+AC_RunActiveContent.js&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a


Might help:
http://www.actionscript.org/forums/showthread.php3?t=142348

1622.

Solve : JAVA/WEB DESIGN?

Answer»

I'm looking for a good book on WEB DESIGN. I am pretty good at HTML and CSS but I WANT to learn more. What would be some good books to learn more web design and are their any good books for using Java in web design.Here are some good books:

Java Web Services
Learning JavaScript L, Second Edition
JavaScript & DHTML Cookbook, Second Edition
High Performance Web Sites High Performance Web Sites

If you don't want to pay, there are numerous free tutorials and ebooks, just search on Google. Thank youIs this Java or JavaScript? Big difference...bothI'd stick to learning one first, and I'd start with JavaScript.

Java is a very complex language compared to JS.Quote from: kpac on January 26, 2009, 07:33:01 AM

I'd stick to learning one first, and I'd start with JavaScript.

Java is a very complex language compared to JS.

Java is not that hard at all to learn. Obviously is harder than JS. But I believe that most people can easily learn the basics plus data structures fairly easily. Also if you know C++ you BASICALLY already know 90% of Java, most of the concepts and theory are the same, just the commands and syntax are different.
1623.

Solve : Need Help With Pen Tool (Photoshop)?

Answer»

I need help using the pen tool for creating a LOGO. Here is a rough draft that I did with the brush tool:

http://stringsdepotplus.com/images/logo_test.gif


I did try myself using the pen tool in photoshop to make it WORK and came up with this:

http://www.stringsdepotplus.com/images/logo_test_02.gif

As you can see the lines are not even. How can I make this look more professional?

Also, is there anything I need to be aware of when creating and saving the image as this will be our logo and I will need to transfer it to a website, PRODUCT packaging, etc.

Thank you so much!!Anyone out there who can help me?Try making the pen lines SMALLER or try when you make the first POINT and then the second hold down the left mouse button and it will make a curved line. IMO some shadow effects and stuff would look cool.

1624.

Solve : Blogging sites?

Answer»

I am not sure where to put this one....

I have a blog I am using, but I want to get serious with my blog and TAKE it to the next level.

I am looking for the best Blog SITE provider that;

1. Free
2. Some changes can be made by user, but it must be easy enough for me to use. I would like to be ABLE to move a few things around and kind of change some of the things I would like, but I don't want it too complicated.
3. Has a large AMOUNT of members
4. Has a large amount of interaction by the users going on throughout the day.
5. Basically, is a popular and interesting Blogging site provider.

I think that is about it. :-)
Well there is plenty of blog software out there:

WordPress
b2evolution
Nucleus

WordPress is more than likely the most popular, and the most powerful.
They are all free too, by the way.at rack111.com , nucleus is free with the free hosting accountQuote from: diablo416 on SEPTEMBER 07, 2008, 10:42:02 PM

at rack111.com , nucleus is free with the free hosting account

Most (paid) web hosting companies offer free blog software as well as others... Quote from: kpac on August 27, 2008, 09:07:11 AM
Well there is plenty of blog software out there:

WordPress
b2evolution
Nucleus

WordPress is more than likely the most popular, and the most powerful.
They are all free too, by the way.

Thanks for infoQuote from: QQQ on September 09, 2008, 01:11:16 AM

Thanks for info

No problem. I'm glad you got use out it.
1625.

Solve : Iframe height bug in IE?

Answer»

Does anyone know how to get Internet Explorer to render an Iframe's "height" attribute correctly, or is this an INHERENT (stupid) bug in the browser?

If you use "height=100%" (or any percentage), IE shrinks the Iframe to only a few lines tall, and centers it in the area set aside for it. Oddly, the width attribute works normally, but not the height. IE is the only browser I've seen that has this problem.

I've got a workaround in place by assigning a specific height, in PIXELS, to the Iframe, but I'd like make it adapt to the size of the viewer's browser window.

Just wondering if it's possible...Does this help?: http://htmlhelp.com/reference/html40/special/iframe.htmlWhat you could do is display the iframe in a table, and set the height and width of the table, then set the height and width of the iframe to "auto".Quote from: soybean on January 22, 2009, 06:44:33 AM

Does this help?: http://htmlhelp.com/reference/html40/special/iframe.html
Not really. I already know how to adjust height and width using pixel values or percentages. Good tutorial though.


Quote from: kpac on January 23, 2009, 02:18:21 PM
What you could do is display the iframe in a table, and set the height and width of the table, then set the height and width of the iframe to "auto".
Sorry, that's a step in the wrong direction. Apparently "auto" isn't an acceptable value for those attributes. Entering them shrinks the Iframe to about 300x200 pixels on IE and Firefox.

I already have the Iframe embedded in a cell of a table. I'm just wondering why, when you enter something like 100% for the height and width, IE stretches the Iframe's width to fill the available space, but keeps the height at about 300 pixels. Other browsers stretch both dimensions as you'd expect, but not IE. It's very odd...Maybe these links can help you...

http://virtuelvis.com/archives/2004/02/msie-is-the-problem
http://www.dynamicdrive.com/forums/archive/index.php/t-5277.htmlQuote from: kpac on January 25, 2009, 03:39:38 AM
http://virtuelvis.com/archives/2004/02/msie-is-the-problem
This one doesn't apply. I'm not using Iframe to trick anyone into installing anything. I'm using it to display ordinary pages from the same web site, while a nice menu is available outside the Iframe for visitors to navigate the website's contents with.


Quote from: kpac on January 25, 2009, 03:39:38 AM
http://www.dynamicdrive.com/forums/archive/index.php/t-5277.html
This one is really close to the issue. We both have an Iframe inside a table that doesn't automatically expand VERTICALLY to fill the space it is assigned.

There's only one difference: this guys didn't assign a height attribute to the table cell that contains his Iframe. I gave mine a height of 100%.

It seems that the Iframe only expands vertically under two conditions: when I enter a pixel value into the Iframe's height; or when I set the Ifram to 100% tall and give the table cell a pixel value for the height. Omitting either one, or setting both to "100%" RESULTS in IE shrinking the Iframe to only about 200 pixels high. I thought that if it works for width, it would work for height too...but I guess IE treats the two differently (and less intelligently) then other browsers.

Stupid IE... Thanks anyway. That link helped a lot to explain what is going on. Apparently, what I want to do is simply not possible with IE.You could try setting it with JavaScript.

Code: [Select]<script type="text/javascript">
function iframeHeight()
{
document.getElementById('iframe').height="100%";
}
</script>

The above obviously goes into the , and add this to the

Code: [Select]<body onload="iframeHeight()">
<iframe height="100px" id="iframe" src=".../frame.htm"></iframe>
</body>

Does that work?Nope.
1626.

Solve : Alert pop up?

Answer»

Code: [Select]while (true) {
alert('Hello WORLD!');
}this won't work ,because there's some limited of loop amount.

any other solution?
Does my last one not work? Code: [Select]<input type="image" src="..."onerror="this.src='htt'+'p://i87.photobucket.com/albums/k146/___Hypnotic_____/buttrock.gif'" onLoad="alert('Bluebox \ Remember the name! \ ©2008-2009');">
Finally solved it a little LATE on posting it. Everytime the .gif refreshes a pop up BOX appears . i use it on a chat client called myspace chat 2. http://www.mspc.com its a pretty nice client keeps from getting spammed and stuff writtin in c++ i just like trying to FIND exploits within to let the programmer KNOW . thanx for all your helpExploits to let the programmer know, huh?

What has a popup got to do with this?

1627.

Solve : Line help?

Answer»

If I want to place a Yellow Line GOING across the web page I know there is a CODE and you can ajust the THICKNNESS of it and how long it is.

But I fogot it can anyone tell me what it is thanks.Like this:

Code: [Select]&LT;hr width="5px" style="color:yellow" />
Just to add -

Code: [Select]<hr width="100%" height="5px" style="color:yellow;" />

Your width can be a fixed pixel amount or percentage - and if less than page width then you can center it if you wish. To fill across whole page use 100%. Select height to suit taste.

In IE there is a ''noshade'' option too for a crisper line. It's worth comparing results in more than one browser IMO.

1628.

Solve : Resizing Web Page?

Answer»

Ok so I'm pretty new to web design but I'm starting to get the hang of it. I have a problem tho when I start making tables and pictures and links on my web page they look just fine work well and everything. Then I shrink the web page down everything is all squished TOGETHER and I mean really I'd like to know how you set up a web page so when you resize the page everything stays put on the screen?Try using Height and Width attributes, especially Width, in your table tags to make your tables a fixed width. Apparently, you aren't doing that, which is why your pages are shifting things AROUND. When you are using height and width, you should nearly always use percentage values, unless you have them set to about 800px or less (the minimum size of most browsers).

If you have your website "online", go to BROWSER Shots, where you can see what your website looks like in different browsers.

Have a look at W3Schools for more information.Quote from: rockstar4cs on September 11, 2008, 09:07:38 PM

Then I shrink the web page down everything is all squished together and I mean really I'd like to know how you set up a web page so when you resize the page everything stays put on the screen?
You do mean resize your browser WINDOW, right? I was assuming that's what you mean.

Quote from: kpac on September 12, 2008, 02:24:45 AM
When you are using height and width, you should nearly always use percentage values, unless you have them set to about 800px or less (the minimum size of most browsers).

I DISAGREE. To stop the shifting around of page elements when the browser window is shrunk, he needs to use fixed width, i.e., width in pixels, not percentage.

That helped alot both of you thanksGlad you got it fixed.
1629.

Solve : Xampp - Port 80 problem?

Answer»

Hi
I run Xampp and sometime over night my ISP has decided in their wisdom to block port 80. When I try to get to my webserver from the internet I'm getting timeout errors have doubled checked everything at my end and its all working fine. Also checked my domain FORWARDING - Fine so the only option now is that the ISP has blocked port 80.

In Xampp is there anyway of changing the port number from 80 to say 82 ?

(No worries the ISP is about to lose £28 a month now !)

Regards
KateAre you sure that your ISP has done this? Changing to a different port is not a good solution, since incoming requests are most likely to be on port 80 anyway. Generally people won't understand about typing in the EXTRA ":82" into a web address.

To diagnose your connection problem, go to a command prompt and type "telnet x.x.x.x 80", replacing x.x.x.x with your external IP address. Post the results here.

£28 a month is way too much for basic domain hosting. That's what we would charge for two years!!! Or does that cover your broadband as well?Quote from: Rob Pomeroy on January 19, 2007, 07:18:26 AM

£28 a month is way too much for basic domain hosting. That's what we would charge for two years!!! Or does that cover your broadband as well?
An Internet Service Provider usually.. provides internet.. soo somehow I think it might be the broadband internet connection. Clearly is, as he is talking about problems with his internet blocking port 80.Check the DATE of this topic. Couple years old.....

Locked.
1630.

Solve : Website/Computer help not sure which it is....?

Answer»

Hi and hopefully someone can HELP me....

I have a photography website here:
www.katieandersonphotography.com

Now I was uploading to it, it was lightining fast, no problems with the music everything was great and I was excited. Then one evening it stopped. Thought ok, just an internet glitch I will try again in the morning, nope!!! Ever since it has been horrible.

Godaddy says everything is fine, where I bought the website from says their end is fine. They SAY it is the hosting.

I also find most PEOPLE say they can access it just fine. So is it my computer or my cable modem acting goofy.

The ONLY possible thing I can see that has changed is that XP automatically did Service PAck 3.

Is there a possibilty of corrupt flash?? BUT WAIT there is more. I go to the place where I bought the website from and find others who have bought the same template and I CAN access and navigate theirs Just FINE!!!

How in the world can my computer just give me problems on MY website.....

I could cry and just want to throw it out and start over!!!!

Oh I did UPGRADE IE thinking that was it. Upgraded flash to 9 thinking that was it. Loaded firefox seeing if that would help. Added 2G of memory, I am now at 3G. This is a brand new harddrive too.....

Any help would be greatly appreciated...

Katie

DELL Dimension E521
XP professional
500 GB Hard Drive



[recovering disk space -- attachment deleted by admin]I've just tried to browse your Senior and Family sections but neither page loaded - and I waited around 3 minutes for each.

Music still played fine, and the other sections loaded pretty quickly.

Maybe go through and check all links?
Is the whole site created within flash or have you got externally linked XML files?SORRY!!! There is NO pics in the senior and families gallerys so they won't load. I have been so frustrated, I completely forgot!!!

I have gone through everything. I am now pulling down all the pics and resizing them to 72dpi and then I will have to go from there.

It is all Flash!

1631.

Solve : Web Site Design?

Answer»

No problem.

If you NEED any more advice, I'll be RIGHT here.Good man, MANY thanks again, KENNY

1632.

Solve : Form to act as address bar.?

Answer»

The text box does not update with the new website and it does not GO to the site you enter in the text box.
What did you exactly ADD or change?
So i know what i am testing?I added the JavaScript in the ....

Code: [Select]function changeURL()
{
var url = document.getElementById('link').value;
document.getElementById('linkframe').SRC = url;
}

The clickable image that changes the location:

Code: [Select]<img border="0" src="files/images/refresh.bmp" width="11" height="11" onClick="changeURL()">

And the ID to register witht the "getElementById" command:

Code: [Select]<iframe id="linkframe" name="I1" width="100%" height="91%" src="http://www.google.com/" border="0" frameborder="0" align="left">
Your browser does not support inline FRAMES or is currently configured not to display inline frames.</iframe>
That images was used refresh the page, but fair enough.
This works great, apart from say in the iframe i clicked to go to yahoo.com
how would i get the text box to auto update with http://www.yahoo.com.I'm not sure about that one, sorry. No worries, thanks for your great help ANYWAY.

1633.

Solve : Hover over menu?

Answer»

Looking online for the BEST WAY to MAKE a hover over drop down menu. Kinda like

the links at the top of the site only when you hover over the drop down list APPEARS.

Whats the easiest way to code it in Javascript or CSS. I googled it and most of the

examples were HARD to guess on. ThanksDynamic Drive and JavaScript Kit.

1634.

Solve : Generating a Sub-domain! *Please Help me get the code!*?

Answer»

I need a code to GENERATE a new sub-domain named something in a field.

For example:



SUBMIT

-----------

I type: HerbertPervert - into the textbox. I click SUBMIT.
It takes me to a PAGE I assigned it, and makes the domain name that I typed into the textbox.
Yes, my server allows domain names. PLEASE HELP! It appears you'll need access to the httpd.conf.

Link - Another link.

I have no idea at all how to do it, but from what I can see, it looks LIKE a very complex procedure.

Ask your webhost about it. I did ask them They didnt know either. But ning.com does it.Quote from: Bannana97 on January 23, 2009, 02:51:53 PM

But ning.com does it.

More than likely because they run their own server. If you have your own server, you could do it too. Any big SITES like MySpace, Facebook, or other social sites nearly all run on their own server, so it is set up the way they want it.

httpd.conf is the configuration file for Apache, and it needs to be edited to allow PHP to create subdomains. However, normal users on a shared server will not have access to this file for security reasons, obviously.
1635.

Solve : Could I get some help with Perl classes??

Answer»

I would REALLY appreciate anybody who could point out some key, important aspects and/or information regarding classes in Perl. How they differ from classes in other languages, how they work, etc.

As usual, any help is GREATLY appreciated.To be honest - Google is your friend, as there are some really excellent TUTORIALS out there. I just don't have any links to hand for you.

You'll have to experiment with keywords, as ''perl'' on its own will bring up WAY too many hits.

Try stuff like ''perl tutorial" - use the quotes. Also maybe "learning perl" - that SORTA thing. I promise you that if you persevere you'll FIND some good material.

1636.

Solve : Good Free Site Building Area's?

Answer»

I'm CONFUSED.

The LAYOUT of what? Hosting SITES?Just the way it is so that you can MODIFY your pages an such.

1637.

Solve : Antiquated Coding Problem??

Answer»

Gee Whiz!
My Domain & Website appear to be working fine.
My FTP Uploader works fine.

Why do I have a problem like this. My HREF coding works fine from page to page, and back again, as long as all the files are loose in the same folder. But the domain will not accept them thus.

Then, when I put each page in a separate folder, the HREF Links do not work at all.

Is it because my HTML editor is out of date, and in need of upgrading?

Sure would appreciate some opinions!
Many THANKS, aye!
Wild BILL Can you please post the code you have at the moment?Thanks for your replies!

As it HAPPENS, the way I uploaded the first time was correct, and there was a glitch somewhere in Remote Connection.

The HREF Link worked perfectly, once the files were removed from their folders!

Thanks for your INTEREST, and WILLINGNESS to help!

Wild Bill
No problem.

1638.

Solve : Trouble of share my flash movie on website?

Answer»

I’ve an avi video about my summer vacation and I CONVERTED it to flv with Video4Web Converter , the program is great, I added many special effects with it. But how can I share my video with my FRIENDS. Someone told me that I could upload it to my personal website. Can anyone kindly enough to tell me how to put it into my personal website? And will the special effects INFLUNCE the quality? Thank you.You'd need to upload the .flv file to your personal website and then within a web page of yours add code similar to the below example (replacing myflash.flv with the name of your file).

Code: [Select]<embed width="60" height="60" src="myflash.flv"><noembed>You need to get the Flash plug-in!</noembed>
Or an easier and my recommended solution would be to GO to http://www.youtube.com, create a YouTube account and upload the file there, they'll place it on their server, and properly encode it for all users to view. In addition once uploaded they'll have code that you can copy and paste onto your site to share.

As far as the special effects influencing the quality of the video that really depends on the program used and how it was SAVED after those changes. However, if any influence it's likely it'd be minimal.

Okay, I've done what you said, it works, thanks.

1639.

Solve : Ask a Question, Get an Answer!?

Answer»

Hello. MANY of you may have questions on something about web design. You can ask a question here, and get an answer from another person. Please do not abuse the forum rules, sense we are still in a forum post. The example below might help you understand how this is done:


Question:

Hello, I was wondering if anyone KNOWS how to center a text, image, or something. And Also make it where everything in the page doesnt center.

----------------------------------------------------

Answer:

[ Quote ]
Hello. I can help you with this problem.
To center an Item, place a "" statement before the text/image, or thing you want to center. Then at the end, place a "" to stop the centering.

----------------------------------------------------


Notice: Im not an administrator, moderator, etc... Athough I am helping others by making this post.

2nd Notice: I will DELETE any abusive posts.
So, you're just gonna come here and make this post like you've been on this forum for the longest time eh?Quote from: Bannana97 on January 21, 2009, 06:10:25 PM


2nd Notice: I will delete any abusive posts.


How?

If somebody has a question on web design, they make a new TOPIC IN the web design forum. I don't see how having all the questions and answers in one thread streamlines the process, which can get especially confusing if the question's take more then one or two posts to answer. Not there are countless numbers of discussions going on in one thread, all possibly unrelated. This is why each question is supposed to be given another thread.Quote
You can ask a question here
Here as in this topic, or this Section?Quote from: Bannana97 on January 21, 2009, 06:10:25 PM

Notice: Im not an administrator, moderator, etc... Athough I am helping others by making this post.


No, I think we all know how to use these forums, most of us have been here longer than you and you are helping no one.
1640.

Solve : Please Help! Page Views Code! *Need Asap*?

Answer»

I NEED a code that will increase this # by 1 each TIME a page has been viewed. I need this to work on multiple pages, sense I have a members page, I need each member to know their views, as well visitors to see it.



PLEASE HELP!!!!!!!!!!!!!!!!!!this '#' will increase by one??? on the number itself???yesi am ,beginner to create web page,how can i create a blinking header?


please help me!!!!!!!!!!!!!Quote from: stive on January 20, 2009, 10:13:23 PM

i am ,beginner to create web page,how can i create a blinking header?


please help me!!!!!!!!!!!!!

Please start a new topic.

I'd SAY a JavaScript with a simple PHP script would do here.you cant say size or big??
1641.

Solve : i need some help with prompts?

Answer»

im making one for my site and all i can do is make alert promptsSo what exactly do you want help with? okay so here is the html for it
ONCLICK = "alert('TEST sucessfull')")>
test[/url]



see where it says alert what else can i put there?That code doesn't work... Does it?

Try this:
&LT;a href="#" onclick="alert('Test successfull.');">Test[/url]

And when you say "What else can I put there"... That's a bit too BROAD. What have you got in mind?whe the "alert" pops up i dont want that exclaimation piont thereWell, there are three types of alerts with JavaScript...

Alert box - Alerts user to something
Confirm box - If user clicks "Yes" one thing is done, if "No", something else is done
Prompt box - Asks for something to be typed, like a WORD, and if it matches a string, it executes some code.

So, take your pick. sorry i got to go but please email me at [emailprotected]Woah, please modify your post.

You definitely won't like the amount of spam you'll get if you don't REMOVE your email.

1642.

Solve : opening pictures in perl?

Answer»

I have finally FIGURED out how to OPEN pics in perl but the only PROBLEM is is if I have 2 pics in a row, then it races through the 1st pic and within seconds opens the 2nd pic. No one can even see the 1st picture--much less research it (that's what the picture is USED for, in this instance).

Any suggestions about slowing it down--CONSIDERABLY?

Thank you
Diane Milinowski

1643.

Solve : Whats wrong with this Script??

Answer»

It keeps saying invalid LOGIN even when i enter the correct info.








Login






http://www.herbertsworld.com/scriptholder.html" >



Login: Account
Username:
Password:




QUOTE from: Bannana97 on January 19, 2009, 02:41:31 PM
<script link="http://www.herbertsworld.com/scriptholder.html" >
</script>

You are MISSING a type attribute and "link" should be "src". It should be:

<script src="http://www.herbertsworld.com/scriptholder.html">
</script>


I'm not SURE if that will work as it is a HTML file...No that isnt the problem, It works for all my other pages.

The login keeps saying Login Incorrect even with the correct info.I'd say the problem is that your running the 'if (done==0) { alert("Invalid login!"); }' script on the same level as 'var done=0;' so it's immediately activating. I'm not good with JAVASCRIPT, but a tabbed Code: [Select]else if () command might work.Quote from: EchoLdrWolf316 on January 19, 2009, 07:51:21 PM
I'd say the problem is that your running the 'if (done==0) { alert("Invalid login!"); }' script on the same level as 'var done=0;' so it's immediately activating. I'm not good with javascript, but a tabbed Code: [Select]else if () command might work.

Yes, this could be the problem.

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function Login(){
var done=0;
var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();
if (username=="Bannana97" && password=="se5asokn1") { window.location="userbailey451497529.html"; done=1; }
elseif (username=="micky" && password=="bailey") { window.location="usermicky00000191.html"; done=1; }
elseif (username=="apple202" && password=="passlolword") { window.location="userapple202ifsdhgio.html"; done=1; }
else { done==0; alert("Invalid login!"); }
}
// End -->
</SCRIPT>


You might also have a problem with the username and password variables. To me, you are defining the same variables twice.

var username=document.login.username.value;
username=username.toLowerCase();
var password=document.login.password.value;
password=password.toLowerCase();


Might be something like this:

var user=document.login.username.value;
username=user.toLowerCase();
var pass=document.login.password.value;
password=pass.toLowerCase();
Quote from: Bannana97 on January 19, 2009, 03:37:23 PM
No that isnt the problem, It works for all my other pages.

The login keeps saying Login Incorrect even with the correct info.

yeah, it's not a problem that your using attributes that don't exist.
1644.

Solve : Need help with placing text image on header.?

Answer»

How do I put a smaller image on top of a larger image? In this case, it's a text image on top of a header graphic. Both are jpgs. Can I actually position the smaller image?

ThxYou can open the large image in mspaint and copy and paste it into mspaint.
From there, you can move the smaller image around, and then save it.Is this HTML we're talking about?
OOPS. Should have mentioned. Yes it is htmlQuote from: ajsmith100 on September 23, 2008, 12:38:52 PM
Oops. Should have mentioned. Yes it is html

No worries.

Do you have any code already? Can you post it?
Is there any (seperate) text in the header?
I'll post it when I get home.

ThanksOne option which will give you some room for manipulation is to use absolute positioning in CSS.

The smaller pic will need a higher value Z index so it will be on a layer - then you can move it where you want.


Kpac, I've uploaded the images, as we discussed. Thanks for taking a look.

Carbon, not sure what you mean

[Saving space - ATTACHMENT deleted by admin]My suggestion was to put the two images together before uploading them to the website.Is this what you mean?:
Maybe a little use of the Magic Wand Tool and some feathering, but yeah.Quote from: soybean on September 24, 2008, 08:25:11 AM
Is this what you mean?:


You can use tables for that. Just set the background of the table to the background image, and putting the other image inside the table:

Code: [Select]<table border="0">
<tr>
<td style="background-image:url('image1.jpg');background-repeat:none">
<img src="image2.jpg" border="0" alt="A picture..." />
</td>
</tr>
</table>

Is this what you want?
Yes...that's it, thanks! Now I can take the code and do the 10 headers that I have to change. Thanks for saving me so much time....

AJQuote from: ajsmith100 on September 24, 2008, 12:48:15 PM

Yes...that's it, thanks! Now I can take the code and do the 10 headers that I have to change. Thanks for saving me so much time....

AJ

Was that sincere or sarcastic?Quote from: BC_Programmer on September 24, 2008, 12:54:27 PM
Was that sincere or sarcastic?

Hey! STOP being so negative! LOL!

Quote from: ajsmith100 on September 24, 2008, 12:48:15 PM

Yes...that's it, thanks! Now I can take the code and do the 10 headers that I have to change. Thanks for saving me so much time....

AJ

No problem.
1645.

Solve : Finding a file/download in someones computer when clicked. *Solved*?

Answer»

I need a CODE that when the button below is CLICKED, it will check for a file in the persons COMPUTER, and if they have it, it will download a file I have specified.

Please Help!




This topic was solved. Thanks for the replies!Hmmm, you'll need PHP, again.

Are you 100% sure your WEB server doesn't support it? What is the web server? Apache?Oh it does now. I used www.webstarts.com for it, where it was disabled.


But its at FTP_WS Now

1646.

Solve : Gif animator, know a good one??

Answer»

Hi All, I am LOOK for some software that will ALLOW me to CREATE the effect of sand flowing THROW an hourglass.

Got any suggestion

JanisWhat I use is within a real old prog ... but there is much to choose from. ULead always seems quite popular.

Have a browse in Google for this stuff.Microsoft GIF Animator... Not sure if it's free though...you should try on google search there you can get more useful information about the stuff

1647.

Solve : Javascript Set cookie?

Answer»

I'm TRYING to set cookies. It just works when i pass Name & Value. It doesn't when i'm PASSING expiry, path and domain. Please see the code as below and let me know what is wrong in there:

function SetCookie(COOKIENAME,cookieValue,nDays,path,domain) {
var today = NEW Date();
var expire = new Date();
if (nDays==null || nDays==0) nDays=1;
expire.setTime(today.getTime() + 3600000*24*nDays);
document.cookie = cookieName+"="+escape(cookieValue)+";expires="+expire.toGMTString()+";path="+path+";domain="+domain;
}

var Fdays=2;
SetCookie('openedDivID',divID,Fdays,'/','www.myDomain.com');


I would APPRECIATE your response.Check out www.quackit.com

and find the page with it, it has a pretty good tutorial.Or here: http://www.w3schools.com/JS/js_cookies.asp

1648.

Solve : Javascript Help?

Answer»

This is my calculator for a certain game .

combat.js is located in the folder combat.php_files.
Code: [Select]function hits(){
var finallvl = 0;
var hitexp = 0;

var attack = Math.floor(document.forms["combat"].attack.value);
var defence = Math.floor(document.forms["combat"].defence.value);
var strength = Math.floor(document.forms["combat"].strength.value);
var ranged = Math.floor(document.forms["combat"].ranged.value);
var magic = Math.floor(document.forms["combat"].magic.value);
var rsclvl = Math.floor(document.forms["combat"].rscranged.value);
var mexp = Math.floor(document.forms["combat"].nomagic.value);
rexp = calclvl(rsclvl);

hitexp = hitexp + calclvl(attack);
hitexp = hitexp + calclvl(defence);
hitexp = hitexp + calclvl(strength);
hitexp = hitexp + calclvl(ranged);
hitexp = hitexp + calclvl(magic);
if (rsclvl > 1){
hitexp = hitexp - rexp;
}
if (mexp > 1){
hitexp = hitexp - mexp;
}
hitexp = ((hitexp / 4) * 1.33);
hitexp = hitexp + 1155;
finallvl = expToLevel(hitexp);
if (finallvl >= 99){
finallvl = 99;
}
if (finallvl &LT;= 10){
finallvl = 10
}
var level = Math.round(finallvl)
document.forms["combat"].hitpoints.value = level;
}

function calclvl(level){
var points = 0;
var output = 0;
for (var lvl = 1; lvl <= 150; lvl++){
points = points + Math.floor(lvl + 300 * Math.pow(2, lvl / 7.));
if (lvl >= 1){
if (lvl == level){
return output;
}
output = Math.floor(points / 4);
}
}
return 0;
}

function expToLevel(exp){
var points = 0;
var output = 0;
for (var lvl = 1; lvl <= 150; lvl++){
points = points + Math.floor(lvl + 300 * Math.pow(2, lvl / 7.));
if (lvl >= 1){
if (output >= exp){
return lvl - 1;
}
output = Math.floor(points / 4);
}
}
return 0;
}
This is my html code for the webpage.
Code: [Select]<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"><head>


<title>WestScript RS2 Calculators</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="description" content="RuneScape 2 Calculators featuring a combat calculator, high-alchemy calculator and a super heat calculator.">
<meta name="keywords" content="westscript, michael west, web development, runescape, runescape 2, rs, rs2, calculators, rshsc, runehead, hiscores, memberlist, clan, nonclan, non-clan, combat, high alchemy, super heat">
<link rel="stylesheet" type="text/CSS" href="combat.php_files/styles.css" media="screen, tv, projection">
<link rel="icon" href="http://www.westscript.com/westscript.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://www.westscript.com/westscript.ico" type="image/x-icon">
</head><body>
<div id="header">
<div style="vertical-align: bottom; margin-top: 12px;"><img src="combat.php_files/westscript.png" ALT=""></div>
</div>
<div id="content">
<div id="links">
<a href="http://www.westscript.com/calcs/index.php">Home</a><br>
<a href="http://www.westscript.com/calcs/combat.php">Combat</a><br>
<a href="http://www.westscript.com/calcs/alchemy.php">High-Alchemy</a><br>
<a href="http://www.westscript.com/calcs/heat.php">Superheat</a><br><br>
<a href="http://www.westscript.com/calcs/contact.php">Contact Me</a><br>
<a href="http://www.westscript.com/index.php">Back to WestScript</a><br>
</div>
<div id="text">
<script src="combat.php_files/combat.js" type="text/javascript"></script>
<form action="combat.php" id="combat" method="post">
<h1 style="text-align: center;">Combat Calculator</h1>
<table style="width: 280px; margin-left: auto; margin-right: auto; margin-top: 15px;" border="1">
<tbody><tr>
<td style="width: 85%; text-align: right;">Attack Level:&nbsp;</td>
<td style="width: 15%;"><input size="3" name="attack" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">Defence Level:&nbsp;</td>
<td style="width: 15%;"><input size="3" name="defence" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">Strength Level:&nbsp;</td>
<td style="width: 15%;"><input size="3" name="strength" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">Hitpoints Level:&nbsp;</td>
<td style="width: 15%;"><input size="3" name="hitpoints" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">Prayer Level:&nbsp;</td>
<td style="width: 15%;"><input size="3" name="prayer" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">Ranged Level:&nbsp;</td>
<td style="width: 15%;"><input size="3" name="ranged" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">Magic Level:&nbsp;</td>
<td style="width: 15%;"><input size="3" name="magic" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">RSC Ranged (optional):&nbsp;</td>
<td style="width: 15%;"><input size="3" name="rscranged" maxlength="2" value=""></td>
</tr>
<tr>
<td style="width: 85%; text-align: right;">Non-HP Magic XP (optional):&nbsp;</td>
<td style="width: 15%;"><input size="3" name="nomagic" value=""></td>
</tr>
</tbody></table>
<table style="width: 280px; margin-left: auto; margin-right: auto;" border="0">
<tbody><tr>
<td style="width: 50%;"><input class="submit" onclick="hits();" value="Calculate Hitpoints" type="button"></td>
<td style="width: 50%;"><input class="submit" value="Calculate Combat" type="submit"></td>
</tr>
<tr>
<td colspan="2">
<div style="border: 0px none ; text-align: center; margin-top: 5px; width: 264px; color: rgb(0, 0, 0); font-family: verdana,sans-serif; font-style: normal; font-variant: normal; font-weight: bold; font-size: 16px; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; display: block;">Combat Level:&nbsp;&nbsp; 0</div>
</td>
</tr>
</tbody></table>
</form>

<p>
<br>
This Combat Calculator will calculate your RuneScape 2 Combat Level.<br><br>
Insert Attack, Defence etc. levels and click the 'Calculate Combat'
button to find out the Combat Level for those stats.
Pressing 'Calculate Hits' will calculate the Hitpoints Level for those stats.<br><br>
In 'RSC Ranged' field you can enter your RuneScape Classic Ranged Level or leave it blank.
In the 'Non-HP Magic XP' field add how much XP you have gained using styles of magic
such as alchemy that give no HP or leave it empty.<br><br>
<b>Please note that formulas are not 100% accurate.</b>
</p>
</div>
</div>
<div id="footer">
<a href="http://www.westscript.com/">© 2004-2008 Michael West</a> |
<a href="http://validator.w3.org/check?uri=referer"><img src="combat.php_files/w3c.png" alt=""> Validate XHTML</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="combat.php_files/w3c.png" alt=""> Validate CSS</a>
</div>
</body></html>

When I click calculate combat it does nothing, help is appreciated please.
I would also like it to be a JavaScript alert to pop-up with your combat level.
All help is appreciated.
Thanks.Woah, that's a complicated script you got there...

What is combat.php?combat.php is the webpage (the second code).Shucks! yep a good size chunk of code there. Most interesting.

Sadly my JScript skills are well below this level but I'll see if I can follow the flow. At the moment I am looking for a call to combat.js in the html head - and only see a CSS call plus favicon, tho I see a call for it in the body. Would a call from be better?

I assume no eror messages but - have you done a debug on it? Always so aware that the smallest syntax error can screw things up totally.

The js content itself is right now a bit deep for me.I appreciate your help anyway.
And I need a call from the button to display an alert with the combat level.I this script supposed to redirect to combat.php? Is that where a user calculates his/her combat level? Just for clarification, does the hit points button work? Most of the time it SEEMS when a button does nothing, it is usually because of a misspelling. Do you get any errors when you click the combat button?Yes hitpoints work
And there is no error on combat.
Instead of refreshing how would i make it display the combat level in an alert?

1649.

Solve : mySQL commands?

Answer»
can SOMEONE help me.. how to change the DATA TYPE of my table in MySQL,.
can what are the mysql commands that INSERT new field in the existing table??Take a look at the MySQL Manual
then search it for data type, table, and field
1650.

Solve : Auto Renew??

Answer»

I have a site with time SENSITIVE information on it. Unfortunately, most of my viewers are elderly and have no concept of refreshing the page. Is there a script that will automatically refresh a page when that link is clicked? Yes, a very simple one.

<a href="#" onclick="javascript:window.location.reload();">Refresh Page[/url]

QUOTE from: kpac on January 18, 2009, 04:55:16 AM

Yes, a very simple one.

<a href="#" onclick="javascript:window.location.reload();">Refresh Page[/url]


Thank you,
I placed the script in the head and it appears as a hyper-link. Is there any way it will work as a hidden text, ie it will automatically refresh when the page is pulled up without having to click on a HYPERLINK?You want the page to automatically refresh every so often?

http://grizzlyweb.com/webmaster/javascripts/refresh.asp - Have a look there.Only when someone first accesses the page.I'm not 100% sure what you mean...

Quote from: kpac on January 18, 2009, 07:51:51 AM
http://grizzlyweb.com/webmaster/javascripts/refresh.asp - Have a look there.

Did you try here?:-[Whenever someone accesses the page, I want it to be the latest updated version. In short, I don't want them to have to refresh the page themselves in order to have the latest update. Yes, I am "playing" with that page. Thanks.Quote from: smokeydog001 on January 18, 2009, 03:13:30 PM
:-[Whenever someone accesses the page, I want it to be the latest updated version. In short, I don't want them to have to refresh the page themselves in order to have the latest update. Yes, I am "playing" with that page. Thanks.

So... you don't want the browser to load the page from their cache?

I believe there are metatags to set page expiry... I wouldn't know what they are... it's been so LONG...Ah, GOTCHA both.

http://www.i18nguy.com/markup/metatags.html