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.

1451.

Solve : sliding down website?

Answer»

hello

ive trying to discover how they do this ! i ve seen this WEBPAGE that the links just make the page scroll down the whole page is just ONE page

http://www.curiousgenerationgroup.com/

if you know PLEASE tell meAnchors - http://w3schools.com/html/html_links.asp - see "HTML Links - The name Attribute"

That, and jQuery SmoothScroll makes the scrolling SMOOTH, obviously.

1452.

Solve : CHALLENGE: Using this XHTML code ONLY, Please help open target in new window!!!?

Answer»

Good morning all! Ready for challenge?

I am struggling with the following code formation...The web platform I am USING MUST use this mouseover code, but I am struggling to find out how to open the link in a new window - that works!?!?! Errors are flying all over the place!


Code: [Select]<table border="0">
<tbody>
<TR>

<td><a onmouseover="this.style.backgroundImage='url(~/media/1A96CA8A35B942E788B46920655A7CEA.ashx?w=184&amp;h=111&amp;as=1)'" title="Beca's history and servies." style="DISPLAY: block; BACKGROUND-IMAGE: url(~/media/CABA6A304EAA4196900D940D236932C6.ashx?w=184&amp;h=111&amp;as=1); WIDTH: 184px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 106px" onmouseout="this.style.backgroundImage='url(~/media/CABA6A304EAA4196900D940D236932C6.ashx?w=184&amp;h=111&amp;as=1)'" href="~/link.aspx?id=F55306662A1F4A4991D22E3B4AF46358&amp;_z=z" ></a></td>

</tr></tbody></table>

Your help with this would be MUCH appreciated!

Many thanks

Your friendly widdowspider.
xUse the target attribute. Unless of course if you're using XHTML Strict, you'll need to use javascript._target="blank"  Quote from: angel2011 on September 25, 2011, 11:34:37 AM
_target="blank" 
No,

Code: [Select]<a href="" target="_blank">
lol misspelling sorry i was asleep :pSorry guys...FORGOT to ADD that the easy solution target="_blank"....doesn't work...or if it does...have no idea where to bung it.Add it to the tag.

Code:
[Select]<a href="whatever" target="_blank">some text</a> <!-- opens link in new window -->
1453.

Solve : Horizontal Scrolling with absolute positioning inside relative positioning?

Answer»

Hi, I have a similar problem to with this EXAMPLE...

http://dustyreagan.com/writing/1/example2.html

When the page is shrunk horizontally, (but not so much as to cover the contents)
it creates a horizontal scroller.
If the red box is removed, this scroller is not seen.

Anyway to get rid of the scroller until it is actually needed?

ThanksYou're better off not using absolute positioning at all on a centered layout.Can you recommend anyway of replicating that page without absolute positioning?

ThanksWhere do you want to box to be exactly?Basically, a large box positioned centrally on the screen.

Then I need images within it to be fixed at certain positions within it.
So when the browser is stretched, the large box REMAINS in the centre.

I'm sure its possible, but I don't know how.

Thanks for any help.I assume when you say "large box" you're talking about the red box? Or is it the #wrapper div?Yes, the large box is the #wrapper div.

The small ones would be images, like the red box is, which I require to be at specific positions within the large box, such as (x,y), where (0,0) is the top left corner.Okay.

This is the CODE which I'm wondering about:
Code: [Select]<div style="position:relative;top:30px;left:200px"&GT;
<img src="sample.gif" style="position:absolute" height="50" width="100" alt="our img" />
Remove that and just add the style it has directly to the image. Leave the "position:absolute" on the image, and forget about relative positioning for now - that might be affecting the parent 's style.Thanks,

Well if I do that...

http://www.math.colin-java.co.uk/test.htm

It half WORKS, but I don't seem to be able to position the image at (x,y)
If I try to, it just does it relative to the corner of the screen..

Any thoughts?Yes, all you do now is set your "top:20px", "left:50px" etc. on the image. That should do it.It doesn't, it just puts it at the position relative to the top left corner of screen,
which is of no use.

It sort of works if I set it to relative, but then I can't get multiple images to show properlyAbsolute positioning is fine on a centred layout, providing the outer div/container has its position set to relative.  Then inner content can be set to absolute, but it's absolute relative to its parent container.  Yes I know it's counter-intuitive...

1454.

Solve : Text problem in CSS!?

Answer»

Hello guys, I have created a web layout in CSS. Everything is working well but on my "Content" section, the text is not displaying properly. It should DISPLY below the banner, but it is displaying above the footer. 

The text which is not displaying correctly is the heading "Contact Us" and the text below it which is "Use this contact form below:". I want them to display above below the banner. My webpage is attached, download it to see. PLEASE HELP! Thank you!

[REGAINING space - attachment deleted by admin]Can you provide a link to the page on a live web SERVER?hi, have ALREADY tackled it by myself! it was just that the border's width was too large.

1455.

Solve : Online training for html,php and css?

Answer»

Good DAY here,my salute goes to U all.
 Just wanted to know if there is any site,school or company that OFFERING all this causes online?.
 Even though i have tried alot of research but i dnt see the one i like.so,any help to BETTER one?http://www.w3schools.com

What exactly did you SEARCH for?

1456.

Solve : A way to intice people to join my phpbb forum??

Answer»

I was just wondering if anyone had any ideas on how to attract users to a forum? The forum is part of my e commerce website itself but I was thinking if I have a forum with alot of users it could potentially lead to more sales for the main page.  I have some business cards en route with my url which I will be handing out soon as well.  I know it is rude and against the rules of other forums to just spam my site on theirs so thats not an option.  I was wondering if anyone had some ideas for me?

Thanks.  BEST idea: provide useful content.  There are many many forums out there.  What is your UNIQUE selling point? Quote from: Rob Pomeroy on September 30, 2011, 08:03:56 AM

Best idea: provide useful content.  There are many many forums out there.  What is your unique selling point?

removed (if you wouldn't mind a look)

I would say my lower than average selling prices.I removed your link temporarily awaiting CONFIRMATION of WHETHER it's ALLOWED or not. Quote from: kpac on September 30, 2011, 09:03:17 AM
I removed your link temporarily awaiting confirmation of whether it's allowed or not.

I understand.  Quote from: kpac on September 30, 2011, 09:03:17 AM
I removed your link temporarily awaiting confirmation of whether it's allowed or not.

So is it okay or not?I would say...no. Quote from: patio on October 01, 2011, 09:03:31 AM
I would say...no.

The reason being?...its not some porn or racial site ffs... Quote from: Ecardius on October 01, 2011, 09:17:22 AM
The reason being?...its not some porn or racial site ffs...
I thought you understood? Sorry, but this is a family friendly site. And where I'm based, firearms are illegal without a licence anyway. Quote from: kpac on October 01, 2011, 10:08:00 AM
I thought you understood? Sorry, but this is a family friendly site. And where I'm based, firearms are illegal without a licence anyway.

And where on my website do you see firearms for sale?! Everything I have listed is perfectly legal.

This is just an example of Bias.You're selling parts and accessories for guns, that's enough.

Locked.
1457.

Solve : HTML Homework?

Answer»

I do not understand what the book is REFERRING to when it TELLS me to "scroll down to the FOUR div CONTAINER elements (marked with ids sample1 through sample4) and place each of the div containers in the samples class."  I am trying code the print.css page to only print the four sample pictures and nothing else.  Can anyone help?  Welcome to CH.
What book are your reading?
What editor or browser  are you using?
Scroll down means move down the page and find the item they mention. If you are using a SIMPLE editor, click on edit then select find and type in the item you want to find. In Fire Fox the edit menu is on the top left and the search field is on the bottom left.

1458.

Solve : html madness - vertical list with search box?

Answer»

My code may be a LITTLE messy but here is my question.
I’ve created a horizontal list across the top of my website. I am attempting to add a search box as part of the horizontal list so that is minimizes the vertical distance to the rest of the content.
No matter what I do, the search box appears below the horizontal list.
If I use absolute or relative positioning, the box appears to overlap with some of the rest of the content below the horizontal list.
My code is below. For COMPLETENESS, I’ve also added part of the code below the list (a side bar to be exact).
Also, if possible, I would like to put some distance between the search box and other ELEMENTS of the horizontal list so that the search box appears toward the right side of the screen. Tips?
Can someone help please?!!!! Thanks to the forum readers.






    list-style: none;
    padding:0;
    margin:0;
}>


        display: inline;
    border: solid;
    border-width: 1px 1px 0 1px;
    margin: 0 0.5em 0 0;
}
>Topic 1,[/url]


        display: inline;
    border: solid;
    border-width: 1px 1px 0 1px;
    margin: 0 0.5em 0 0;
}
>
Topic 2,[/url]


        display: inline;
    border: solid;
    border-width: 1px 1px 0 1px;
    margin: 0 0.5em 0 0;
}
>
Topic 3,[/url]


        display: inline;
    border: solid;
    border-width: 1px 1px 0 1px;
    margin: 0 0.5em 0 0;
}
>
Topic 4,[/url]

        display: inline;
    border: solid;
    border-width: 1px 1px 0 1px;
    margin: 0 0.5em 0 0;
}
>
Topic 5,[/url]

        display: inline;
    border: solid;
    border-width: 1px 1px 0 1px;
    margin: 0 0.5em 0 0;
}
>
Topic 6,[/url]

        display: inline;
    border: solid;
    border-width: 1px 1px 0 1px;
    margin: 0 0.5em 0 0;
}
>
Topic 7[/url]




http://www.google.com/search
">



 maxlength="255" value="" />

 value="askmywebsite.com" checked /> only search mywebsite.com

















src="Background.jpg" width="95" height="81">First, please post code between code tags: [code]...[/code].

Second, this is not valid CSS or XHTML:

QUOTE from: wigglywink on September 25, 2011, 06:10:01 AM
<ul#header ul {
    list-style: none;
    padding:0;
    margin:0;
}>

There is no HTML element "".  Did you mean
    ...?Or, possibly,
      ?I think he's just adding the CSS in an attribute-like way to the HTML....YEP.
1459.

Solve : uploading a site to host company?

Answer»

Thanks guys for sharing knowledge here.
 I am running a WEBSITE software with bluehost that is the author of dreamweaver 8 software and i want to upload it but it giving problems so,is there any help
  And also,am using this same software to design a website for my business but i dont want to host it with bluehost again DUE to financial problems and management.but i have seen one free web host services but to upoad it is another problem.
              web hosting services by http://jumpline.com Quote from: Ademil4vic on September 30, 2011, 11:03:14 AM

...  bluehost that is the author of dreamweaver 8 software
Bluehost is not the author of dreamweaver, Adobe is.

Quote from: Ademil4vic on September 30, 2011, 11:03:14 AM
i want to upload it but it giving problems so,
What problems?  How are you trying to upload?

Quote from: Ademil4vic on September 30, 2011, 11:03:14 AM
  And also,am using this same software to design a website for my business but i dont want to host it with bluehost again due to financial problems and management.but i have seen one free web host services but to upoad it is another problem.
              web hosting services by http://jumpline.com
what problems are you having with bluehost?  Are you saying jumline is free?  Apparently, they have a free 1-year intro offer on their Stacked Plan but then I guess you PAY the NORMAL rate.  That's what I glean from http://jumpline.com/overview_shared.  Quote from: soybean on October 01, 2011, 09:19:23 AM
Bluehost is not the author of dreamweaver, Adobe is.

Poor Macromedia.   :-(
1460.

Solve : link between two html pages?

Answer»

beginner in here
i am using iframe to link between two html pages , now  the page (B)  is shown in the main page , what i need to do is to mouse over a link or a text in the main page and when mousing over , the image in (b) will change regarding to the link , how can i  select all the img or all the DIV in page b while i am in main page
thanks for helpingHit that Caps Lock key!
beginner in here
i am using iframe to link between two html pages , now the page (b) is shown in the main page , what i need to do is to mouse over a link or a text in the main page and when mousing over , the image in (b) will change regarding to the link , how can i select all the img or all the div in page b while i am in main page
thanks for helping

better now!!!!!!Show us the code, please....I HAVE :

PAGE1 : A1.html
PAGE2 : A2.html

when setting them as iphrames in PAGE3 , the page3 will be half for page1 and half for page 2

in  page1 , i have a sentence : XXXXXXXXX
when i mouse over on XXXXXXXXX , i want to WRITE zzzzzzzzz in  PAGE2

when using JQUERY:
 $(".A").hover()....
The elements with class A are DEFINED in PAGE2 , what should i insert or add so the pages can know each others elements
helpppppppppppppppppppppppp

1461.

Solve : Website forum help?

Answer»

How would i go about creating a custom forum for a website, or getting a CODE. Preferably PHP or html??Here's one of many examples: http://www.simplemachines.org/Another one: http://www.phpbb.com/

But, assuming your site is alive on the web, SEE WHETHER your hosting SERVICE provides forum installation from the user cPanel.  Many hosting services include this in their offering of services to clients and it's an easy way to install a forum on your website.

1462.

Solve : Help finding wordpress theme?

Answer»

So I need a word press theme that can accommodate objects 800x600px without cutting them off, or as I learned the hard way, not showing them at all (thanks willow). If anyone knows of a theme that will display these large objects that would be helpful. Thanks.I decided to just go with the fancybox plugin. It allows me to display content that is too large for my page.

Now I need to verify that the site is working with the newest version of flash and firefox. For some reason on my system, the flash doesn't load properly and I thought I had it figured out, but apparently that's not the case. So can anyone just quickly check the site to make sure the flash loads when the image is clicked.

dosaidsoft.com/blogThat page isn't loading at all for me.

Ah - I see why.  For some reason it redirects to an IP address and a custom port 6653.  The port is not permitted for my corporate firewall (which I control, but I'm sorry, I'm not going to open an outgoing port for this purpose).I had to PUT it on a DIFFERENT port because my ISP blocks port 80, so I just chose a random number.

As for the issue with loading the flash - turns out the problem was the filename actually. Apparently firefox doesn't like the name Adv1, so I just named it AdvOne. It took a long time to figure that out. Quote from: Linux711 on October 05, 2011, 07:32:28 AM

I had to put it on a different port because my ISP blocks port 80

Say what now? Quote from: Rob Pomeroy on October 06, 2011, 03:35:15 AM
Say what now?
I had read his post, but never even saw that line.

Linux711, how could port 80 possibly be blocked? That's the default port for most web traffic - either 80 or 8080. Quote from: kpac on October 06, 2011, 03:40:34 AM
I had read his post, but never even saw that line.

Linux711, how could port 80 possibly be blocked? That's the default port for most web traffic - either 80 or 8080.

it's probably blocking him from hosting from home in some FASHION. Quote from: BC_Programmer on October 06, 2011, 03:42:11 AM
it's probably blocking him from hosting from home in some fashion.

Quite.  In which case, attempting to host from home is going to be a real PITA. Quote
it's probably blocking him from hosting from home in some fashion.

Yes. that's what I mean.

Quote
Quite.  In which case, attempting to host from home is going to be a real PITA.

Well. It's working. I've had three people try it. It works because I am using a different port.One reason why I am hosting myself instead of paying for a hosting company is because I don't have to pay anything (except for the domain). I don't have to pay for power either because my college does that lol.The PITA that I REFER to is the fact that most people behind a correctly-configured firewall will be unable to browse to your website, since it is on a non-standard TCP port.
1463.

Solve : javascript help :)?

Answer»

hi guys how would i go about doing this for a script:

i have a webpage with 3 buttons: start, next and previous

now i have 1 set of pages NAMED:

page1.html
page2.html
page3.html

("page" will be different when it is actually made though

when i am on page1 the previous and the start buttons src will be "images/Blue_CSS/button_side_off" but the next button src will be "images/Blue_CSS/button_side_next"
when this is clicked from page1 it wqill TAKE you to page2, and if you werte on page2 it would then take you to page3 ect.

same with the previous button but the numbers go down instead and the start button brings you back to page1

any ideas how i would extrtact the number in the html and just add 1 or minus one?
ok here is my atempt... this is probably very messy but it works

could anyone see if they can find any problems or ways of making it better please

Code: [Select]var href = window.location.href+"  ";
var nobutton = "<img src=\"../images/Blue_CSS/side_button_off.png\" />";
var link1 = "<a href=\""
var link2 = "\"><img src=\"../images/Blue_CSS/side_button_"
var link3 = ".png\" /></a>"

var name = "Steven COLLINS"
var candnum = "9026"
var centernum = "52137"
var cand = "Candidate name</br>"
var cand1 = "Candidate number</br>"
var cent = "Centre number</br>"


// page number selection :)

if (href.search('-1')>0){pagenum='1'; nextpagenum='2'; previouspagenum='0'}
if (href.search('-2')>0){pagenum='2'; nextpagenum='3'; previouspagenum='1'}
if (href.search('-3')>0){pagenum='3'; nextpagenum='4'; previouspagenum='2'}
if (href.search('-4')>0){pagenum='4'; nextpagenum='5'; previouspagenum='3'}
if (href.search('-5')>0){pagenum='5'; nextpagenum='6'; previouspagenum='4'}
if (href.search('-6')>0){pagenum='6'; nextpagenum='7'; previouspagenum='5'}
if (href.search('-7')>0){pagenum='7'; nextpagenum='8'; previouspagenum='6'}
if (href.search('-8')>0){pagenum='8'; nextpagenum='9'; previouspagenum='7'}
if (href.search('-9')>0){pagenum='9'; nextpagenum='10'; previouspagenum='8'}
if (href.search('-10')>0){pagenum='10'; nextpagenum='0'; previouspagenum='9'}

//page selection

if (href.search('9onlines')>0)
{
pagename='9onlines';
lastpagenum='3';
chapter='1';
}
else if (href.search('ebook')>0)
{
pagename='selection';
}
else if (href.search('index')>0)
{
pagename='index';
}
else if (href.search('chapter')>0)
{
pagename='chapter';
chapter=pagenum;
}
else
{
pagename='none';
}

document.getElementById("candname").innerHTML=cand + name;
document.getElementById("candnum").innerHTML=cand1 + candnum;
document.getElementById("centnum").innerHTML=cent + centernum;

// everything else

if (!(pagename=='none') && !(pagename=='chapter') && !(pagename=='selection') && !(pagename=='index'))
{
if (pagenum=='1')
{
document.getElementById("start_button").innerHTML=link1 + "chapter-" + chapter + ".html" + link2 + "back" + link3;
}
else
{
document.getElementById("start_button").innerHTML=link1 + pagename + "-1.html" + link2 + "start" + link3;
}

if (pagenum==lastpagenum)
{
document.getElementById("next_button").innerHTML="<img src=\"../images/Blue_CSS/side_button_off.png\" />";
}
else
{
document.getElementById("next_button").innerHTML=link1 + pagename + "-" +  nextpagenum + ".html" + link2 + "next" + link3;
}

if (pagenum=='1')
{
document.getElementById("prev_button").innerHTML="<img src=\"../images/Blue_CSS/side_button_off.png\" />";
}
else
{
document.getElementById("prev_button").innerHTML=link1 + pagename + "-" +  previouspagenum + ".html" + link2 + "PREV" + link3;
}
}
else if (pagename=='selection')
{
document.getElementById("start_button").innerHTML=link1 + "chapter1/chapter-1.html" + link2 + "chapter-1" + link3;

document.getElementById("next_button").innerHTML=link1 + "chapter2/chapter-2.html" + link2 + "chapter-2" + link3;

document.getElementById("prev_button").innerHTML=link1 + "chapter3/chapter-3.html" + link2 + "chapter-3" + link3;
}
else if (pagename=='index')
{
document.getElementById("start_button").innerHTML="<img src=\"../images/Blue_CSS/side_button_off.png\" />";

document.getElementById("next_button").innerHTML="<img src=\"../images/Blue_CSS/side_button_off.png\" />";

document.getElementById("prev_button").innerHTML="<img src=\"../images/Blue_CSS/side_button_off.png\" />";
}
else if (pagename=='chapter')
{
document.getElementById("start_button").innerHTML=link1 + "../ebook.html" + link2 + "back" + link3;

document.getElementById("next_button").innerHTML="<img src=\"../images/Blue_CSS/side_button_off.png\" />";

document.getElementById("prev_button").innerHTML="<img src=\"../images/Blue_CSS/side_button_off.png\" />";
}

1464.

Solve : problem with creating a forum?

Answer»

hello guys,

i decided to create a small forum for learning php ,i got this tutorial from google search
i tried it..works like CHARM the only problem is when creating a category it gives out a blank page..can somebody please sort it out ! 

As soon as i learn php i am gonna try creating a small social networking script  You'd be better off using SMF or phpBB to get started, especially when it comes to learning PHP.  I appreciate your suggestion....but i wanted "my own forum" rather than using SMF or PHPBB ...coz there are no mods that fulfill my requirements for these forums

PS: could you please TELL me how can i learn from these forums? like examples and all  Quote

coz there are no mods that fulfill my requirements for these forums
Create your own.

Quote
could you please tell me how can i learn from these forums? like examples and all
Just look at the different functions and the file structure, install a few mods manually without using the package manager and get used to the code.If you want to do it yourself, this would be my recommended learning path: Learn PHP first, to a reasonable standard.  Then read about MVC.  Then learn to program in PHP using the DEVELOPMENT framework CodeIgniter.  Having done that, you can use something like FuelCMS to do anything you can imagine.

I would differ from kpac: if I were learning PHP, I would find SMF or phpBB a very INTIMIDATING place to start.  I would recommend building up the complexity gradually and learning some good programming techniques.  If you try to build it from scratch without these disciplines, you will more likely than not end up with a system that is EXTREMELY difficult to maintain in the future.  That's just the voice of painful experience speaking...  :-/
1465.

Solve : uploading my banner?

Answer»

i need some help i have registered my website and bought a host through crazydomains.com.au and i have created a very basic webpage so far and created it in note pad and when i open it though internet explore my banner shows up just fine and is right where i want it with the rest of the information so i uploaded the web page DOCUMENT online but when i go to my website the banner does not show up it just has a BOX with a QUESTION mark in it i need some help what am i doing wrong...Did you also upload the banner image file?  Quote from: soybean on October 18, 2011, 08:38:47 AM

Did you also upload the banner image file? 

What soybean SAID.  If the image is still stored on your PC, no one else on the internet will be able to view it.  Might be helpful to run through some basic HTML tutorials that should navigate you over these initial bumps.
1466.

Solve : Uploading Attachments on a PHPBB?

Answer»

I have a PHPBB Forum version 3.0.8. Today I tried to create a new forum with the first post being my own  including an uploaded attachment .docx file.  I just WANTED the users on my forum to be able to see my post and click the attachment so they could view the word document. The forum however said that file format wasn't ALLOWED to be uploaded.  Is there any way to tweak that setting in the Administrator panel to allow word documents and possibly .pdf files to be attached in posts?Yes, Admin->Posting->Attachments section Quote from: kpac on October 22, 2011, 08:23:58 AM

Yes, Admin->Posting->Attachments section

Yeah I have been to this page and have changed a few settings but haven't had any luck.You'll see the procedure explained at http://www.phpbb.com/community/viewtopic.php?f=46&t=1615245.

Edit: EH, wait a minute.  I think you actually need to go to the screen for Manage extensions, not Manage extension groups, as the reference says.  In Manage extensions, you'll see a box at top of the panel where you can add a file extension. Quote from: soybean on October 22, 2011, 06:49:47 PM
You'll see the procedure explained at http://www.phpbb.com/community/viewtopic.php?f=46&t=1615245.

Edit: Eh, wait a minute.  I think you actually need to go to the screen for Manage extensions, not Manage extension groups, as the reference says.  In Manage extensions, you'll see a box at top of the panel where you can add a file extension.

Hey thanks!  Glad to hear it worked.  And, welcome to the forum.  Come back ANYTIME.
1467.

Solve : Embedded HTML page?

Answer»

I'm displaying a view of some pages within a different page  on my site by embedding them with an object tag. It WORKS perfectly in Firefox but in IE when any links are clicked it navigates to the linked page as a NEW window in the browser. I want the linked pages to appear within the embedded window. It does this regardless of what I make the TARGETS in the links and (as I said) it only happens in IE.

Is there a way to CODE either the tag or the links so that everything displays in the parent window in both Firefox and IE? The embedded pages are only being used for this purpose.

Thanks!Have you already looked at tis?

Quote

HTML tips: Embedding Web Pages within Web Pages
www.web-source.net/embedding_web_pages.htm
If you're looking for a way to display a web page within a web page, this HTML code may be just what you're looking for. As you can see in the example below,
Thanks for replying!

That's the exact code that I used. It displays the pages fine in both Firefox and IE. However, in Firefox when a link in the embedded page is clicked, it opens within the object window of the parent page (which is what I want). In IE, the link opens as a new parent page.I found the problem.  The coding worked with regular links. The problem occurred when I used Flash SWF buttons. I'll just go back to traditional links.Why not just use an iframe?I have a web page that needs ANOTHER page included. The included page height will need to be adjusted as there are some radio buttons and dropdown boxes that will result in the embedded page being expanded. Any ideas? Quote from: Mellie94 on November 01, 2011, 04:47:15 AM
I have a web page that needs another page included. The included page height will need to be adjusted as there are some radio buttons and dropdown boxes that will result in the embedded page being expanded. Any ideas?
Please start your own topic for this question, as well as your other questions.
1468.

Solve : HTML "Open in New Window" code??

Answer»

Quote from: hope2u on March 09, 2011, 07:17:42 AM

Would others agree that Dreamweaver is a good choice to START out on simple web design?  I looked at Xara.  Sure didn't seem very intuitive.

Dreamweaver is fine too. But if you really want to make webpages, then find one that works, and get on with it.

W3C schools[/url[ HTML page has HTML tutorials. And W3C is the official HTML guys so it's a good place to visit to get all your HTML learning.I should have mentioned that I was really hoping to make up my webpage without learning any HTML or very little.  Is this realistic considering what modern website creation software can now do?Yes, you can GO that route and avoid getting into the nitty-gritty of coding. When I edit html files from my computer, they keep opening in the same browser that I have opened. How do I fix it so that html files will open in their own windows?

I'm not looking to make a new window APPEAR with HTML. I'm trying to edit HTML files and would prefer them to open in a fresh window instead of 'hijacking' my current opened browser.
Quote from: Mellie94 on November 01, 2011, 04:41:43 AM
When I edit html files from my computer, they keep opening in the same browser that I have opened. How do I fix it so that html files will open in their own windows?

I'm not looking to make a new window appear with HTML. I'm trying to edit HTML files and would prefer them to open in a fresh window instead of 'hijacking' my current opened browser.

Please do not post questions in existing threads. Just start a new thread for your problem & question. Thank you. Quote from: 2x3i5x on March 10, 2011, 11:05:19 AM
W3C schools HTML page has HTML tutorials. And W3C is the official HTML guys so it's a good place to visit to get all your HTML learning.

I know this is a old thread, but this is a common misconception. W3schools is not affiliated with the W3C in any way at all. they are a separate entity, and not official in any way. Members of the W3C have tried to get w3schools to DISAVOW any affiliation with the W3C but they have refused to do so.

Other resources:

http://dev.opera.com/articles/view/1-introduction-to-the-web-standards-cur/#toc


Google's HTML, CSS, and Javascript from the Ground Up

sitepoint

Also, the w3c itself has some information pages. It has a Learn page, as well as a HTML element reference.

Also, the Mozilla Doc center starts at intermediate CSS and COVERS JavaScript better than anyone.

1469.

Solve : Html Image?

Answer»

I tried to fix this myself but its not working. Im frustrated to the POINT that Im ACTUALLY asking someone else.

O.k now I am a beginner at HTML and the image code has always been a problem. They randomly work. Literally the exact code and pic that worked yesterday will not work the next day.

Today I tried to insert a image that that was located at a web host. It did not work so eventually I decided to copy and PASTE the code web host gives you(of course its same code but hey I had NOTHING to lose) and GUESS what...it worked. Then I typed in the exact same code under it and it did not work.

This is all in Notebook by the way.

I do not understand how the exact same thing through and through can not work.someone give me some advice.Can you post your code here please?

1470.

Solve : Website Errors?

Answer»

I am getting this error message, on every PAGE of my site. I am assuming it is a problem with the live chat on the right, yet I copied the code direct from their WEBSITE. Anyone else see why this would be happening? I have included the homepage source code, and a link : http://administrative-technology.co.uk

Code: [Select]<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><script type="text/javascript">
//<![CDATA[
window.__CF=[];window.__CF.DJS=[];window.__CF.DJS.push({atok:'5461cb05a654b64c8030c464602c9ed7',p:0,byc:0});(function(a,b){var c=a.__CF,d=b.createElement("script"),e=b.getElementsByTagName("script")[0];e.parentNode.insertBefore(d,e),d.src="//ajax.cloudflare.com/cdn-cgi/nexp/v=211705126/dominate.min.js"})(window,document);
//]]>
</script><script type="text/javascript">
//<![CDATA[
window.__CF=window.__CF||{};window.__CF.AJS={"ga_key":{"ua":"UA-7588476-2","ga_bs":"2"},"cdnjs":{"__h":"1","cdnjs":"MO,GF,FX,CS,JS"},"prnc":{"dalytkn":"TJ3HK3Gk7T2KUgARRRrKKL-MWKZUVW6pnORWt3yIyYwrgV69F9xg_pWUnP_qpV9_g"},"vig_key":{"sid":"8e0d71d50e13fe636633a0bd60c91aa5"},"usrvc":{"key":"tBJUna70zI5Nx9ZOBhPA"},"smrtln":{"pkr":"picker","site":"6e39878fd","api_key":"fb0016e4-6d84-4701-8fbc-d45e65a2f8b5","siteDomain":"6e39878fd.ss0010.smartling.com"},"apt_key":{"stk":"gKKEh9e"},"favris":null};
//]]>
</script>
<script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/v=4256582386/appsh.min.js"></script><script type="text/javascript">__CF.AJS.inith();</script>
<title>Administrative Technology</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="keywords" content=""/>
<meta name="description" content=""/>
<meta name="generator" content="Rvglobalsoft"/>
<meta name="progid" content="Version: 4.80 PRO; Project name: Administrative Technology Website; Project id: 3a1c379c000c0c45178bb8d6c7f19d69; Template Name: pro_4-750-1_blue_lcd_2; Published date: October 20, 2011, 7:22 33 (GMT -04:00"/>
<link rel="stylesheet" href="http://administrative-technology.co.uk/style.css" type="text/css"/>
<link rel="stylesheet" href="http://administrative-technology.co.uk/Verdana.css" type="text/css"/>
<link rel="stylesheet" href="http://administrative-technology.co.uk/Navigator.css" type="text/css"/>
<link rel="stylesheet" href="http://administrative-technology.co.uk/pathway.css" type="text/css"/>
<script type="text/djs" data-djssrc="http://administrative-technology.co.uk/rvsincludefile/rvsheadpage.js"></script>
<script type="text/djs" data-djssrc="http://administrative-technology.co.uk/rvsincludefile/rvsnavigator.js"></script>
<script type="text/djs" data-djssrc="http://administrative-technology.co.uk/js/publishNavigator/layersmenu-library.js"></script>
<script type="text/djs" data-djssrc="http://administrative-technology.co.uk/js/publishNavigator/layersmenu.js"></script>
<script type="text/djs" data-djssrc="http://administrative-technology.co.uk/rvsincludefile/rvscustomopenwindow.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7588476-2']);
_gaq.push(['_trackPageview']);
_gaq.push(['_trackPageLoadTime']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('HTTPS:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

(function(b){(function(a){"__CF"in b&&"DJS"in b.__CF?b.__CF.DJS.push(a):"addEventListener"in b?b.addEventListener("load",a,!1):b.attachEvent("onload",a)})(function(){"FB"in b&&"Event"in FB&&"subscribe"in FB.Event&&(FB.Event.subscribe("edge.create",function(a){_gaq.push(["_trackSocial","facebook","like",a])}),FB.Event.subscribe("edge.remove",function(a){_gaq.push(["_trackSocial","facebook","unlike",a])}),FB.Event.subscribe("message.send",function(a){_gaq.push(["_trackSocial","facebook","send",a])}));"twttr"in b&&"events"in twttr&&"bind"in twttr.events&&twttr.events.bind("tweet",function(a){if(a){var b;if(a.target&&a.target.nodeName=="IFRAME")a:{if(a=a.target.src){a=a.split("#")[0].match(/[^?=&]+=([^&]*)?/g);b=0;for(var c;c=a[b];++b)if(c.indexOf("url")===0){b=unescape(c.split("=")[1]);break a}}b=void 0}_gaq.push(["_trackSocial","twitter","tweet",b])}})})})(window);
/* ]]> */
</script>
</head>
<body>
<table cellpadding="0" cellspacing="0" id="rv_top_adjust_width_0" width="1000" align="center">
<tr>
<td><img src="images/spacer.gif" alt="" width="4" height="1"/></td>
<td align="left" valign="top">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td>
 
<div style="position: absolute;">
<div id="Layer1" style="position:relative; left:190px; top:20px; width:120; height:60; text-align:center; z-index:1; overflow:visible; white-space:nowrap;">  </div>
</div>
<div style="position: absolute;">
<div id="Layer2" style="position:relative; left:199px; top:20px; width:auto; height:auto; text-align:left; z-index:2; overflow:visible; white-space:nowrap;" class="company"><div><font style="font-size: 36px">&nbsp;<font style="font-size: 24px">Administrative Technology</font></font></div></div>
</div>
<div style="position: absolute;">
<div id="Layer3" style="position:relative; left:199px; top:76px; width:auto; height:auto; text-align:left; z-index:3; overflow:visible; white-space:nowrap;" class="slogan"><div><em style="font-size: 16px">&nbsp;The Best Computer Support And Repair</em></div></div>
</div>
 
<table cellpadding="0" cellspacing="0" width="100%" class="bgtop">
<tr>
<td><img src="images/img_01.jpg" alt="" width="202" height="168"/></td>
<td width="99%"></td>
<td><img src="images/img_02.jpg" alt="" width="169" height="168"/></td>
<td><img src="images/img_03.jpg" alt="" width="175" height="168"/></td>
<td><img src="images/img_04.jpg" alt="" width="227" height="168"/></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top" height="32" class="bgmenu"><div class="navigator">
<ul class="navigator">
<li id="hormenu1L1" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="index.php" id="current" onmouseover="shutdown();" target="_self"><span>Home</span></a></li>
<li id="hormenu1L2" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="About-Us.php" class="normal" onmouseover="moveLayerX1('L2', 'hormenu1'); LMPopUp('L2', false);" target="_self"><span>About Us&nbsp;<img src="images/down-arrow.gif" border="0" alt=">"/></span></a></li>
<li id="hormenu1L9" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="Contact-Us.php" class="normal" onmouseover="moveLayerX1('L9', 'hormenu1'); LMPopUp('L9', false);" target="_self"><span>Contact Us&nbsp;<img src="images/down-arrow.gif" border="0" alt=">"/></span></a></li>
<li id="hormenu1L12" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="Customer-Reviews.php" class="normal" onmouseover="moveLayerX1('L12', 'hormenu1'); LMPopUp('L12', false);" target="_self"><span>Customer Reviews&nbsp;<img src="images/down-arrow.gif" border="0" alt=">"/></span></a></li>
<li id="hormenu1L15" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="Customer-Support.php" class="normal" onmouseover="shutdown();" target="_self"><span>Customer Support</span></a></li>
<li id="hormenu1L16" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="Services.php" class="normal" onmouseover="shutdown();" target="_self"><span>Services</span></a></li>
<li id="hormenu1L17" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="Shop.php" class="normal" onmouseover="moveLayerX1('L17', 'hormenu1'); LMPopUp('L17', false);" target="_self"><span>Shop&nbsp;<img src="images/down-arrow.gif" border="0" alt=">"/></span></a></li>
<li id="hormenu1L25" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="http://administrative-technology.co.uk/blog/" title=" http://administrative-technology.co.uk/blog/" onclick="openCustomSize('http://administrative-technology.co.uk/blog/', '0', '0',  '1', '1', '1', '1', '1', '1');return false;" class="normal" onmouseover="shutdown();" target="_blank"><span>Admin's Blog</span></a></li>
<li id="hormenu1L26" onmouseover="clearLMTO();" onmouseout="setLMTO();"><a href="https://starka.x10hosting.com:2083" title=" https://starka.x10hosting.com:2083" class="normal" onmouseover="shutdown();" target="_self"><span>Admin Login</span></a></li>
</ul>
</div>
 
 
<div id="L2" class="submenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<div class="subframe">
<div id="refL3" class="item">
<a href="Our-Aims.php" onmouseover="LMPopUp('L2', true);" target="_self"><span>&nbsp;Our Aims&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL4" class="item">
<a href="Our-History.php" onmouseover="LMPopUp('L2', true);" target="_self"><span>&nbsp;Our History&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL5" class="item">
<a href="Our-Level-Of-Quality.php" onmouseover="LMPopUp('L2', true);" target="_self"><span>&nbsp;Our Level Of Quality&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL6" class="item">
<a href="Our-Location.php" onmouseover="LMPopUp('L2', true);" target="_self"><span>&nbsp;Our Location&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL7" class="item">
<a href="Our-Partners.php" onmouseover="LMPopUp('L2', true);" target="_self"><span>&nbsp;Our Partners&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL8" class="item">
<a href="Our-Staff.php" onmouseover="LMPopUp('L2', true);" target="_self"><span>&nbsp;Our Staff&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="L9" class="submenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<div class="subframe">
<div id="refL10" class="item">
<a href="Email.php" onmouseover="LMPopUp('L9', true);" target="_self"><span>&nbsp;Email&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL11" class="item">
<a href="Live-Chat.php" onmouseover="LMPopUp('L9', true);" target="_self"><span>&nbsp;Live Chat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="L12" class="submenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<div class="subframe">
<div id="refL13" class="item">
<a href="Submit-a-Review.php" onmouseover="LMPopUp('L12', true);" target="_self"><span>&nbsp;Submit a Review&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL14" class="item">
<a href="View-Reviews.php" onmouseover="LMPopUp('L12', true);" target="_self"><span>&nbsp;View Reviews&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
</div>
</td>
</tr>
</table>
</div>
<div id="L17" class="submenu" onmouseover="clearLMTO();" onmouseout="setLMTO();">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td nowrap="nowrap">
<div class="subframe">
<div id="refL18" class="item">
<a href="Custom-Computers.php" onmouseover="LMPopUp('L17', true);" target="_self"><span>&nbsp;Custom Computers&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL19" class="item">
<a href="http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=7" title=" http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=7" onclick="openCustomSize('http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=7', '0', '0',  '1', '1', '1', '1', '1', '1');return false;" onmouseover="LMPopUp('L17', true);" target="_blank"><span>&nbsp;Desktops&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL20" class="item">
<a href="http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=6" title=" http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=6" onclick="openCustomSize('http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=6', '0', '0',  '1', '1', '1', '1', '1', '1');return false;" onmouseover="LMPopUp('L17', true);" target="_blank"><span>&nbsp;Desktop Components&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL21" class="item">
<a href="http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=10" title=" http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=10" onclick="openCustomSize('http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=10', '0', '0',  '1', '1', '1', '1', '1', '1');return false;" onmouseover="LMPopUp('L17', true);" target="_blank"><span>&nbsp;Laptops&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL22" class="item">
<a href="Laptop-Components.php" onmouseover="LMPopUp('L17', true);" target="_self"><span>&nbsp;Laptop Components&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL23" class="item">
<a href="http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=9" title=" http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=9" onclick="openCustomSize('http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=9', '0', '0',  '1', '1', '1', '1', '1', '1');return false;" onmouseover="LMPopUp('L17', true);" target="_blank"><span>&nbsp;PERIPHERALS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a>
</div>
<div id="refL24" class="item">
<a href="http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=89" title=" http://astore.amazon.co.uk/administtechn-21?_encoding=UTF8&node=89" onmouseover="LMPopUp('L17', true);" target="_self"><span>&nbsp;Software&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></a></div>
</div>
</td>
</tr>
</table>
</div>
<script language="JavaScript" type="text/djs">
//<!--
loaded = 1;
// -->
</script>
 
 
</td>
</tr>
<tr>
<td class="bgline"><img src="images/spacer.gif" alt="" width="1" height="2"/></td>
</tr>
<tr>
<td align="left" valign="top">
<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#FFFFFF">
 
<tr>
<td align="center" class="magin">
<div>&nbsp;</div><script type="text/djs">





</script>  <script type="text/djs">

var sc_project=6843009;

var sc_invisible=1;

var sc_security="ace5b72e";

</script><script type="text/djs" data-djssrc="http://www.statcounter.com/counter/counter.js"></script>
<noscript>&amp;lt;div class=&amp;quot;statcounter&amp;quot;&amp;gt;&amp;lt;a title=&amp;quot;tumblr hit
counter&amp;quot; href=&amp;quot;http://statcounter.com/tumblr/&amp;quot; _wpro_href=&amp;quot;http://statcounter.com/tumblr/&amp;quot;
target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;statcounter&amp;quot;
src=&amp;quot;http://c.statcounter.com/6843009/0/ace5b72e/1/&amp;quot;
alt=&amp;quot;tumblr hit counter&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;</noscript> </td>
</tr>
 
 
<tr>
<td class="magin">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
 
<td align="left" width="99%"></td>
 
 
<td align="right"><table cellpadding="0" cellspacing="0" width="100%"><tr style="cursor:pointer"><td>
<script type="text/djs">
//<![CDATA[
    var SubjectLine = 'Check%20out%20the%20'+top.document.title+'';
    var BodyText = 'I%20thought%20you%20might%20be%20interested%20in%20the%20'+top.document.title+'You%20can%20view%20it%20at%20'+top.location.href+'';
    var Message = '<a class="contact" href="mailto:?SUBJECT=' + SubjectLine + '&BODY=' + BodyText + '">';
    Message += '<img src="http://administrative-technology.co.uk/images/pfbe.gif" border="0"  title="Email a Page to a Friend"  alt="Email a Page to a Friend"></a>';
    var MessageIE = '<a href="mailto:?SUBJECT=\'' + SubjectLine + '\'&BODY=' + BodyText + '">';
    MessageIE += '<img src="http://administrative-technology.co.uk/images/pfbe.gif" border="0" title="Email a Page to a Friend" lt="Email a Page to a Friend" width="22" height="22" hspace="4" style="cursor:pointer" border="0"/></a>';

    if (document.all) {
    document.write(MessageIE);
    } else {
    document.write(Message);
    }
//]]>
</script>
</td><td><img src="http://administrative-technology.co.uk/images/ppbe.gif" width="22" height="22" hspace="4" border="0" title="Print this page" alt="Print this page" onclick="window.print();return false;"/></td><td><img src="http://administrative-technology.co.uk/images/afbe.gif" width="22" height="22" hspace="4" border="0" title="Add to Favorite" alt="Add to Favorite" onclick="chkWindowjs();"/>
<script type="text/djs">
            //<![CDATA[
                     function chkWindowjs() {
                         if (window.sidebar) {
                             window.sidebar.addPanel(document.title,location.href,'');
                         } else if(window.external) {
                             window.external.AddFavorite(location.href,document.title);
                         } else if(window.opera&&window.print) {
                                 return true;
                         }
                   }
              //]]>
        </script></td></tr></table></td>
 
</tr>
</table>
</td>
</tr>
 
<tr>
<td align="left" valign="top">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" class="magin" id="rv_adjust_width_8" width="992">
<table cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" valign="top" width="100%" id="layout_zone1" style=""><p><font color="#000000"><font color="#000000"><font color="#000000"></font>Welcome to Administrative Technology -&nbsp;</font><em>The Best Computer Support And Repair&nbsp;</em></font></p>
<p><font color="#000000"><br/>
</font></p>
<p>The <a title="" href="Services.php">Services</a> page shows all of our current services from re-installing your computer to virus removal and more.</p>
<p>If you are after customer support for one or more computer systems over a period of time, choose <a title="" href="Customer-Support.php">Customer Support</a>.</p>
<p>&nbsp;</p>
<p>Please read the reviews from other customers in the <a title="" href="Customer-Reviews.php">Customer Reviews</a> page.</p>
<p>&nbsp;</p>
<p align="center"><font color="#cf3030">-<em>This Site Is Currently Under Construction</em>--</font></p></td> </tr></table>
</td>
 
<td width="160" align="center" valign="top" class="magin">
 
<link rel="stylesheet" type="text/css" href="http://chatserver.comm100.com/css/comm100_livechatbutton.css"/>
<div id="comm100_ChatButton">
<div id="comm100_warp">
<center>
<div id="comm100_dvhelp"><a class="comm100_ahelp_css" title="Live Chat Software for Website" target="_blank" href="http://www.comm100.com/livechat/" onclick="comm100_Chat();return false;"><img style="border: 0px" id="comm100_ButtonImage" alt="Live Chat Software for Website" src="http://chatserver.comm100.com/BBS.aspx?siteId=49733&amp;planId=2086&amp;partnerId=-1"/></a><script data-djssrc="http://chatserver.comm100.com/js/LiveChat.js?siteId=49733&amp;planId=2086&amp;partnerId=-1" type="text/djs"></script>
<div id="comm100_track"><a target="_blank" href="http://www.comm100.com/livechat/"><strong>Live Chat</strong></a> by <a style="color: #009999; cursor: pointer" onclick="javascript:document.getElementById('comm100_dvbox').style.display='';">Comm100</a></div></div>
<div style="display: none" id="comm100_dvbox" class="comm100_dvbox_css" onmouseout="this.style.display='none'" onmouseover="this.style.display=''">
<div class="comm100_dvcontent_css">
<p class="comm100_ptitle_css"><strong><a class="comm100_atitle_css" target="_blank" href="http://www.comm100.com/">Comm100</a> Products:</strong></p>
<ul class="comm100_ulbox_css">
<li style="display: none" class="comm100_onelinone">&nbsp;</li>
<li><a target="_blank" href="http://www.comm100.com/">Customer Service Software</a></li>
<li><a target="_blank" href="http://www.comm100.com/livechat/">Live Chat Software</a></li>
<li><a target="_blank" href="http://www.comm100.com/emailmarketingnewsletter/">Email Marketing Software</a></li>
<li><a target="_blank" href="http://www.comm100.com/livehelp/">Live Help</a></li>
<li><a target="_blank" href="http://www.comm100.com/emailmarketingnewsletter/">Email Marketing</a></li>
<li><a target="_blank" href="http://www.comm100.com/livesupport/">Live Support</a></li></ul></div></div></center></div></div> </td>
 
</tr>
</table>
</td>
</tr>
 
<tr>
<td align="center" class="magin"></td>
</tr>
 
 
<tr>
<td align="center" class="magin">
<div>&nbsp;</div><script type="text/djs">/* CloudFlare analytics upgrade */





</script>
<div>&nbsp;</div>
<div><span style="font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 13px; background-color: #f7f2f2">©&nbsp;</span>Copyright Administrative Technology 2011</div></td>
</tr>
 
<tr>
<td align="center" valign="bottom">
<table cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="bottom" class="marginpw"></td>
<td width="8"></td>
<td align="center" valign="bottom" class="marginpw"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr><td class="bgbottom"><img src="images/spacer.gif" alt="" width="1" height="7"/></td>
</tr>
</table>
</td>
<td><img src="images/spacer.gif" alt="" width="3" height="1"/></td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
window.__CF=window.__CF||{};window.__CF.u="/cdn-cgi/async/cf/uri/";window.__CF.p="8f/6bc46e2ffda5a9658f18a64d7c86f6";window.__CF.o=1;window.__CF.c=0;(function(){var a=document,b=a.createElement("script");b.src="//ajax.cloudflare.com/cdn-cgi/nexp/v=918368360/cf_tools.min.js";b.setAttribute("async","true");a=a.getElementsByTagName("script");a=a[a.length-1];a.parentNode.insertBefore(b,a)})();
//]]>
</script><script type="text/javascript" src="//ajax.cloudflare.com/cdn-cgi/nexp/v=49212922/apps1.min.js"></script><script type="text/javascript">__CF.AJS.init1();</script></body>
</html>
Try changing this throughout your code:

Code: [Select]"//ajax.cloudflare.com
to this:

Code: [Select]"http://ajax.cloudflare.comWhen I try and access your site I get "Restricted Access"

Quote

This IP ADDRESS has been seen posting comment or blog spam. Learn more on Wikipedia.
You connect to the Internet through an IP address. You are seeing this message because your computer is likely infected with a virus. The best thing to do is to run an anti-virus scan, which will scan your computer for viruses and malware. If a virus or malware is found, anti-virus will clean the intrusion. Once your IP address is seen virus-free for 14 days, this alert will disappear.

I suppose that's what University wireless gives you... Quote from: kpac on October 20, 2011, 08:00:13 AM
When I try and access your site I get "Restricted Access"

I suppose that's what University wireless gives you...

Yeah, that will be someone on your uni network triggering my cloudflare protection settings ...

Quote from: Rob Pomeroy on October 20, 2011, 07:12:20 AM
Try changing this throughout your code:

Code: [Select]"//ajax.cloudflare.com
to this:

Code: [Select]"http://ajax.cloudflare.com

Rob, I am trying that now...

EDIT : Upon doing that, I now recieve "Parse error: syntax error, unexpected T_STRING in /home/admintec/public_html/index.php on line 1"
When loading the site, other pages appear fine ...

I am resetting the site to how it was, and I am going to try testing the pages in Microsoft Expression Web 4 now. If you think of anything else, please let me know. Thanks for your help so far... Quote from: immental1200 on October 20, 2011, 08:04:40 AM
EDIT : Upon doing that, I now recieve "Parse error: syntax error, unexpected T_STRING in /home/admintec/public_html/index.php on line 1"

That's a PHP error - nothing to do with the javascript changes we were making!  Wild shot in the dark - make sure you've not borked your XML declaration.  It should start with Quote from: Rob Pomeroy on October 20, 2011, 08:43:10 AM
That's a PHP error - nothing to do with the javascript changes we were making!  Wild shot in the dark - make sure you've not borked your XML declaration.  It should start with <?xml but if there's a space between ? and xml, the web server might interpret that as a PHP "begin parsing" instruction.  I'm not even sure you need the XML docspec, but I'm not especially strong on that area.

I am going to assume that Microsoft Expression Web 4 mucked something up here, it doesnt like editing sites that weren't originally made by it..
I am going to ditch the current site, and rebuild it. I am going to code in HTML rather than PHP this time Quote from: immental1200 on October 20, 2011, 08:55:28 AM
I am going to code in HTML rather than PHP this time

You say that like they can even be mutually exclusive... Quote from: immental1200 on October 20, 2011, 08:55:28 AM
Microsoft Expression Web 4

*facepalm* 

Two suggestions:

Use NetBeans or Eclipse for development, with the relevant PHP components.
Learn a PHP application framework, like CodeIgniter, CakePHP or Symfony. Quote from: Rob Pomeroy on October 25, 2011, 02:03:54 AM
*facepalm* 

Two suggestions:

Use NetBeans or Eclipse for development, with the relevant PHP components.
Learn a PHP application framework, like CodeIgniter, CakePHP or Symfony.

Thanks I first time tying deploy ASP.NET MVC3 Web App and after upload files and made database I had problems with displaying sites...I was redirected to "page not found'. After add to web config I get following error:
Server Error
500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.
What I need to do now?
Quote from: Mellie94 on November 01, 2011, 04:44:19 AM
What I need to do now?

Start a new thread of your own please.
1471.

Solve : Pop up media player using java?

Answer»

Hey whats the craic?
Can any one help me with this just want to have a pop up media player that i can put my own music into on my website any one have CODE like this, they would be willing to share?Helped a friend a while back add her music to her website, but it was just linked for play ( and handled by default mp3 player at the users end ) or download as a mp3 if they right-clicked and selected to save it. It wasnt protected, and to protect her music she only posted like the first 30 seconds of it as a teaser VS the full songs. Full songs were cheap enough that people would pay for them without bootlegging.

Are you using Java as a WAY to play, but protect your music from download?Found out how to do it here
http://www.labnol.org/internet/design/html-embed-mp3-songs-podcasts-music-in-blogs-websites/2232/

Awesome works FINE cheers anyway..  Any idea how to track TRAFFIC to your website; would like to know what site they are coming from. I'm using Cpannel. CheersI would use clustrmaps for that

clustrmaps.comCheers but i found it from google again
http://www.google.com/analytics/

Worth a look sorry for wasting time 

Cheers for the reply.

1472.

Solve : text flow on microsoft publisher?

Answer»

Hi
 Just want somebody to enlight me more on HWO to make text flow on microsoft publisher homepage or any page? Please helpWhat do you mean by "Microsoft Publisher Homepage"?  Are you using Publisher to design a web site?  It outputs absolutely AWFUL HTML and I very much DOUBT it will be able to CREATE the kind of effect you're thinking of.

1473.

Solve : I need a chat room website designed?

Answer»

Can anyone give me a quote for  a chatroom website to be DESIGNED please ?You'd be talking about anywhere from €500-800 or $700-1100 approx.I could set you up a forum to work with no problem. They did specifically ask for a chatroom though...OP, you could always use open source: https://blueimp.net/ajax/ Quote from: Mulreay on October 10, 2011, 08:40:02 AM

I could set you up a forum to work with no problem.

And how serious will you take it without it being a paid ENDEAVOUR? How much quality could they expect? Will you be available to help support the site if they encounter issues? Will you teach them how to use it? And more to the point, will you actually take the time to UNDERSTAND their request? Chat room != forum.

First: they asked for a quote. This means they are looking for somebody who does this for a living. And you know what? That's the best idea. You get what you pay for. If somebody is willing to do it for free, it's a safe bet that they do not do it for a living and for the most part are hardly a professional with it. For me I occasionally have people ask me to set up small sites for their beginning company, but I tell them pretty much outright that I am not a professional and they will need to get somebody who does it for a living  to redo the site later. Usually they are fine with it, because they are just starting and don't really want to invest a whole lot in a super-professionally designed site when they aren't EVEN sure how long their business will last. Most importantly, I still don't work for free. This is important. A person working for "free" isn't working, they consider it a "favour" to the person they are making the site for. It's not a job. There is no level of professionalism, and again, the question raises why the person would work for free. Sure, it makes sense for a web designer to maybe help their relatives or friends set up a web site, but they know those people. A alleged web designer/developer working for free on setting on a website- or chatroom, or any of that, for free, and for a perfect stranger ought to raise a few questions as to just how much experience that person has as well as whether they have any at all (if they had any, they would not be working for free!)

Well said.I'll get my coat. That's harsh...  Quote from: PrettyFlyforaWiFi2 on November 11, 2011, 04:01:10 PM
That's harsh... 

Pay PEANUTS, expect monkeys?
1474.

Solve : Spam on my blog?

Answer»

What is the BEST way to prevent SPAM on a wordpress based blog?the akismet plugin, that's what I use, and it seems to WORK well.Sign up for an API key here: HTTP://akismet.com/wordpress/

1475.

Solve : problem with this form :(?

Answer»

hi guys there is a problem with this FORM when i click the button it does not call the function up

the chrome debug window says : Reference error sub has not been defined

anyone know why?

Code: [Select]<html>
<head>
<script type="text/javascript">
function sub(form)
{
var item = form.ship.selectedIndex;
var result = form.ship.options[item].value;
var speed = 0;
var tech_multiply = 0;
var result_speed = 0;
var type = "Inter";

if (result=="Corvette")
{
speed = 8;
type = "Stellar";
}
else if (result=="Recycler" || result=="DESTROYER" || result=="Frigate" || result=="IonFrigate")
{
speed = 5;
type = "Stellar";
}
else if (result=="ScoutShip")
{
speed = 12;
type = "Warp";
}
else if (result=="OutpostShip")
{
speed = 3;
type = "Warp";
}
else if (result=="Cruiser" || result=="carrier")
{
speed = 4;
type = "Warp";
}
else if (result=="HeavyCruiser" || result=="Battleship" || result=="FleetCarrier")
{
speed = 3;
type = "Warp";
}
else if (result=="Dreadnought")
{
speed = 2;
type = "Warp";
}
else
{
speed = 1;
type = "Warp";
}

if (type=="Stellar")
{
var techlevel = form.stellar.value;
}
else if (type=="Warp")
{
var techlevel = form.warp.value;
}

if !(techlevel==0)
{
tech_multiply = (techlevel*0.05)+1
result_speed = speed*techmultiply
document.getElementById("Display").innerHTML=result_speed
}
else
{
document.getElementById("Display").innerHTML="Unable to plot COURSE - no tech levels or incorrect FORMAT"
}

}
</script>
</head>
<body>
<form action="" name="Ship_Speed_Form">
Select slowest unit: <select name="ship">
<option value="Corvette" selected="selected">Corvette</option>
<option value="Recycler">Recycler</option>
<option value="Destryer">Destryer</option>
<option value="Frigate">Frigate</option>
<option value="IonFrigate">Ion Frigate</option>
<option value="ScoutShip">Scout Ship</option>
<option value="OutpostShip">Outpost Ship</option>
<option value="Cruiser">Cruiser</option>
<option value="Carrier">Carrier</option>
<option value="HeavyCruiser">Heavy Cruiser</option>
<option value="Battleship">Battleship</option>
<option value="FleetCarrier">Fleet Carrier</option>
<option value="Dreadnought">Dreadnought</option>
<option value="Titan">Titan</option>
<option value="Leviathan">Leviathan</option>
<option value="DeathStar">Death Star</option>
</select></br>
</br>
Stellar Drive Level : <input type="text" size="13" maxlength="12" name="stellar" value=""/><br />
</br>
Warp Drive Level : <input type="text" size="13" maxlength="12" name="warp" value=""/><br />
</br>
<button type="button" onclick="sub(this.form)">Calculate</button>
</form>
<p id="Display">This is a paragraph.</p>
</body>
</html>sub() is undefined due to a syntax error in the function.  Try changing:

Code: [Select]if !(techlevel==0)
to

Code: [Select]if (techlevel!=0)
Incidentally, if you do your HTML programming in a syntax-highlighting IDE like NetBeans or Eclipse, the IDE will spot a lot of errors like this for you.I agree with Rob as I've tested it and it works.  And also if you change

THIS below
Code: [Select]<button type="button" onclick="sub(this.form)">Calculate</button>

TO this
Code: [Select]<button type="button" onclick="sub(form)">Calculate</button>

This lets your message
Quote

"Unable to plot course - no tech levels or incorrect format"

Come up on the screen.

Hope this helps.

B2
1476.

Solve : A* path finding?

Answer»

hi guys i have a small little project running currently and its gona require the use of the A* path finding ALGORITHM...

how would i make this into a JavaScript CODE?Do you understand the algorithm?  How's your knowledge of javascript?  What is your question exactly?

You know that GOOGLING "A* path algorithm javascript" returns LOTS of HITS?This might be what you are looking for.

http://www.briangrinstead.com/blog/astar-search-algorithm-in-javascript

Hope this helps.

B2

1477.

Solve : PHP code to send automatic email using Yahoo, Gmail, Hottmail etc?

Answer»

Hi guys
I am QUITE new to PHP and I have a simple web page "Registration Form" of a SCHOOL website. I want to automatically send an e-mail to the student after registration has been successfully done!

I simplify my question: HOW TO SEND E-MAIL AUTOMATICALLY USING ANY FREE SERVICE IN PHPIf its a school... then don't you have access to student records? And shouldn't all the students be added to it automatically ? Quote from: immental1200 on December 04, 2011, 07:20:00 AM

If its a school... then don't you have access to student records? And shouldn't all the students be added to it automatically ?
Actually I am designing online admission system, through which any one can fill the admission form provided on my school web and can apply for admission in my school. Now I want to send him (candidate) a confirmation message that he has successfully APPLIED for admission. This confirmation e-mail must be auto MEANS when candidate click the "Apply" button an e-mail has been automatically send to his e-mail address. But the main problem is that I want to use any free service to this e-mail like yahoo, gmail, hottmail etcSimple method (to get you started): http://uk.php.net/manual/en/function.mail.php

Much better method, when you're ready to get to grips with PEAR: http://pear.php.net/package/Mail

Best method: learn a PHP development framework and use its libraries, eg: http://codeigniter.com/user_guide/libraries/email.html
1478.

Solve : Web.config?

Answer»

I was asked to get a web site up and running again.

The site was hosted by godaddy - who had archived the files.

Godaddy said they restored all the files - but the site still would not load.  They said the PROBLEM was in the Web.config file.  they renamed the file and most of the pages seemed to be working - but there is a group of links that are not working.  I found the lines (6) in the config files that (if errors occur) send  PEOPLE to a generic page. 

I never worked with asp files before (and the errors relate to these files).  There is code in the files referring to license#  but I don't understand any of this.  Has anyone every worked twith a Web.config file and can explain What is the purpose and what shuld be in  the file?

The Error is a "run time" error.   There  were no errors before the files were restored. 

Also, Is security SOMEHOW involved.   Do we need an up to date SSL certifiate or something comparitable for *asp? 

Any help or suggestions would be appreciated....
Hello,

Web.config files are used for ASP.NET websites, they typically contain site/application settings.

If there was no error, then chances are that custom errors could be enabled or that remote errors are not being displayed.

Do you still require help with this issue, this post is a few days old :/

ThanksYes I still need help.  You are the only person who responded to this post and any help is good. 

It is a very complex website.

I suspect that The automatic backup was incomplete and that some files/links are missing.

On some Unix systems, when a backup is done a file 1 or 2 files are created. 

1.  listing the backup files, the date of the backup and the status (hopefully complete)

2.  an error log - An error list if the backup was not complete - usually with the word aborted and some additional info.

Does godaddy have something like this in effect?

There was a section in the Web.config  that sent users to a default Web page.  I have no idea why the error is occurring (other than missing files or possibly am expired license).

Any idea on how to check this further?   - other than CONTACTING godaddy again?


Hey,

Can you by chance post a screen shot of the error MESSAGE you get when you view the site and a copy of your web.config ? (please remove any user/password info). Quote from: hopingForAnswers on December 13, 2011, 09:19:31 AM

Yes I still need help.  You are the only person who responded to this post and any help is good.

Sorry about that.  ASP support is slightly more thin on the ground than PHP or Ruby.
1479.

Solve : Masking one url to another... WHICH gets the analytics site counts????

Answer»

I'm running a webpage in yahoo. I'ts to be linked, as part of a larger multi town news system, which is hosted at GoDaddy. The guy, wants to use masking, so when they link to MY pages, the url still shows it's THEIR Url (still in his news site system, if you will) ... we know how to do it. the QUESTION is,,, he wants the hits, on the page I run, to count on HIS Google ANALYTICS numbers etc.. as traffic is used, for sales of ads etc. What we need to know for sure is, Since he is linking, and masking it, from HIS Url/site. TO MINE.. will HE get the traffic count?
Thanks... HankNo, he won't. Analytics are measured on the server and/or via a service like Google analytics.

server stats would be stored on your webhost and tally up whenever the file is accessed. Also, the file will still be accessed with the same URL, the url "masking" is basically just changing the url in the address-bar or using a rewrite-rule to access your site. For example, a person who owns and operates SAY, www.Bears.com might want to include an article on berries, but they find this really awesome berries article and that they want to link from www.Bears.com/food.html but it redirects them to www.Berrypatch.com, and they want it to show www.Bears.com/berries.html instead. the url shown or accessed on that server won't have any bearing on the analytics recorded by EMBEDDED analytics in the "berries.html" file (such as google analytics) which will still see the "real" origin of the file (berrypatch.com), and server-based STATISTICS would still be of course recorded on the webhost for berrypatch.

Ok.. I'll explain exactly what we're doing, and go from there... "Boss".. has his own domain.. under which he operates 4 different county news sites. All on HIS server. "I" am setting up, a "landing page"..  with headlines, and links, to each independent site of his, and buttons linking to the same 4 sites.
He wants, the URL showing on MY site, to be the same as the rest, (HIS)  so we're going to "mask" it in.
Bottom line, we HAVE added HIS "Google analytics" html snippet, into the code on MY site. People, are to come to MY page first.. then branch out, to the individual sites, that they choose.
What we WANT, is for the Counts, of traffic, hitting MY Landing page, to count with HIS total of traffic etc...... Is what we have done, going to do this??? If not, CAN it be done, with the setup we have? THAT is the Issue at HAND.....if they are on the same server and have the same google analytics snippet than yes.No.. his server and mine are NOT the same....  I'm not sure than. the google analytics will count towards his analytics account, I would imagine. But the url "masking" probably won't be accounted for.ok.. we just wanted, if they come to me first, then him, it to show, on his numbers, as TWO hits, which it honestly would be. Traffic count, and/or "impressions" are what sell these ads... and we have ads on BOTH ends..I'm new at this, and his knowledge of this aspect is weak... Guess, we'll just run it, and see what the counters show!
I'm always stuck, doing "weird" stuff ... LOL!!

Thanks for the help.. every little bit extra we learn....

1480.

Solve : Text flow on dreamweaver 8 homepage?

Answer» GUYS,
 Am using dreamweaver 8 to design a website for e-COMMERCE and i want to add text flowing from LEFT to right HORIZONTALLY on the homepage and slide show image on the product page.Any help would be highly appreaciated,MANY thanks.Check out jQuery and in particular functions such as animate().  You really need JAVASCRIPT knowledge for this kind of thing (or Flash).
1481.

Solve : Frame help?

Answer»

I want to make a WebSite but PUT it in a Frame.

All the LINKS one the left side and all the pages come into the right side.

I KNOW they say USE DiV Tages but I can't get the HANGE of it.

Are Frames still supported by the Browsers today?Yes they are and no you shouldn't use frames.

Why not use an online CSS layout generator?  That will do the hard bit for you.

1482.

Solve : Integrating Our Cloud Accounting and Supplier's E-Cart Systems??

Answer»

Not quite CERTAIN if this is the right subforum or not, but…

Have parachuted into a project, and I don’t know that folks have thought through some crucial bits – but I am certainly not expert enough to know for certain if we’re missing something important. (Neither are the other key players).

Essentialy, here’s the situation.

We will soon be abandoning our DOS-based back office system for a web-based one.

We currently interact with one of our key suppliers as such:
-   When we receive orders from our clients, we enter the order into our DOS system
-   Our supplier has a terminal at their location running our system
-   They run a download that pushes out our individual orders for their materials
-   Once they fulfill the order, they close it out in our system, which:
-   Uploads the supplier’s shipping charges onto our customers’ invoice, and
-   Once the supplier closes it, it’s ready to be caught in the next “invoice sweep” by our team

Almost concurrently with our switch away from our DOS system to the cloud, our supplier has moved all of its other clients to a webstore for order placement.

So, in a perfect world, what I’d like to do is:
-   When we enter information in our system, there’s a way to push the relevant information from our system into theirs
-   When they close it out in their system, it automagically pushes the relevant info back into our system so we can CREATE invoices, etc.

Obviously, we want to keep our resale price hidden from our supplier, and our internal cost hidden from our customer; otherwise, we could just give them passwords to our supplier’s webstore.

My problem is, I don’t even know how to begin to investigate how this handshake between our new system and theirs could even happen; is it feasible and affordable? What alternatives do I have?

Ultimately, my blue-sky goal is we key the order in one time and that’s that, until we deposit the check from our client.

So, I will take any and all suggestions:
•   Does anybody know anything about things like this?
•   Does anybody know who I can talk to to help?
•   I don’t even know what questions to ask!

Thanks!

(I’ve started talking to some of our supplier’s other customers, but we have a larger volume and more complexity than most, so it’s not really an apples-to-apples.)
Basically you're talking about "Systems Integration".  I can understand why you might feel like you're clutching at straws even knowing the right question to ask.  If you search for a specialist Systems Integration company, you'll find that you can pay quite a lot for this kind of service.  Only you can judge WHETHER the costs would be worthwhile.

With a few more specifics (exactly what applications will be involved?) it might be possible to give a clearer answer.

In my job, incidentally, I regularly create quasi-systems integrations, whereby I'm using lots of scripts to push and pull data to and from various different websites, adding additional functionality within a bespoke intranet.  That's probably how I'd tackle a problem like this personally.  To do that, you'd need a web design team that knew a lot about a technique called "screen scraping" and which had rock solid database skills.  If any of the applications involved have an API, the integration becomes easier.  (The trouble with screen-scraping is that when one of the websites changes, you have to respond very QUICKLY and update your scripts.)Thanks, Rob.

Money will definitely be an object here - we're a large enough customer that our CFO feels THEY should pay, our supplier feels that they hold enough of our IP that they can push back a bit... We'll need to integrate long before anyone figures out who should pay. Hence I've thrown myself in the middle to figure out if a solution even exists.

So we're basically talking about TWO systems, from what I can tell - their webcart and our back office.

If I ask simply, "what applications are involved", will I get a good answer, or will they follow up with narrowing questions that I can't answer (e.g., "do you mean the front end bifurcating application, or the one on the back stream that DOWNLOADS the antifallow?").

Is it also "what database does that application access?" (no pun on "access" intended!).

OUR system is based on/integrated with/running through SalesForce.com, if that helps any.

What's an API?

Thanks!Systems integration is agnostic about things like which database is in use, etc.  It boils down to "what inputs and outputs are available on each system" and "what messages need to be passed".

An API is an interface that a company offers to allow programmatic access to certain features.  E.g. Google Maps has an API that allows any web developer to make programmatic use of its mapping facilities.  Using APIs is much easier than Systems Integration, but where no APIs are available, you either have to redesign the systems or use S.I.

To clarify - you are only interested in the outside edges of the vendors' applications.  If they provide a web interface (and no other type of interface) you are looking at a web application.  But they may provide something more industry standard like EDI, EDIFACT and so on.So questions to the back office team may be:

"Do you have an API that outputs client-defined data?"
Followed by
"If another system was going to push data into ours, what would you need to integrate the data?"


And questions to ask the material supplier might be:
"If our system spit out certain pieces of data, what would you need to integrate that into your shopping cart?"
and
"If we wanted your ERM to tell our backoffice system an order is complete, how would it output that data?"


Thanks!

Yes, you're heading in the right direction.  You'll probably need some specialist assistance with this though.  The thing with Systems Integration is that an extremely wide knowledge is needed in many different fields - data manipulation, diverse protocols, database technology, comms, networking, error-handling, etc, etc.  The risk with DIY is that you will miss some "edge cases" that the experienced eye would not overlook.Yeah, I just need to get the dialog started to figure out if it's even worthwhile.

Thanks

1483.

Solve : Creating a Web-Based Football Pool?

Answer»

OK, since I've been monkeying around with other stuff, I was wondering if this was possible:

Would like to create a pool with:

- Multiple users with
- "Secure" (i.e., Password-protected) access, who can
- Pick each playoff game and
- Pick a relative "confidence" weight

I envision either a screen listing all four matchups each week with radio buttons, or perhaps four drop down boxes (one for each game).

The "confidence" weight, essentially, is one game is weighted four points, one three, one two, and one one point. User chooses the weight. Each weight can only (and must be) used once each week.

Once a game starts, a player can't change his pick. (So note there are four different start times. And when I say "start", I don't need to integrate with the NFL's official clock - although that would be totally cool - but if the game is scheduled to start at 1PM, that game's option on the website should "lock" at 1PM.)

So, that's what I'd LIKE to do!

I don't know anything about nothing, but I have some free time and I can be clever with an army knife and WD-40. What "Dummies" book should I pick up? Am I looking at PERL, JAVA, HTML5, C+++++++, ETC.?

I know I'm off my gourd, but where should I even begin to start?Since most of this can be done asynchronously I'd start with a web-based interface.  (Web applications are generally more transactional than stateful.  No, I don't know what that means either.)

If you know any PHP, you're well on the way.  If not, it's not too difficult to pick up if you already have some programming experience.  The biggest hurdle people tend to hit is understanding where is the data and figuring out how to pass server-side (PHP) data to the client (javascript) and vice versa.

Add to that a database (MYSQL being the common choice) and you're 90% there.  Using a PHP framework (CodeIgniter is my favourite, but there are many others) makes a lot of the work much easier and helps you to MAINTAIN better programming discipline.

Using FuelCMS (which is CodeIgniter plus a lot of CMS functions) you'll find that most of the hard work (content management, authentication, etc) has been done.  You then only need to think about the facets of your application that are unique.

There are of course many different ways of skinning this cat.  You could create an application in Visual Studio/C# for example.  The great ADVANTAGE of web applications is that usually users don't need to install any software, to access it.  They just need a web browser.PS  Your application will be harder to create than you think.  Quote from: Rob Pomeroy on December 22, 2011, 01:57:23 AM

PS  Your application will be harder to create than you think. 
No it won't!












(I'm thinking it will be very hard) Quote from: rjbinney on December 22, 2011, 06:23:27 AM
No it won't!
...(I'm thinking it will be very hard)

Good plan. But it will STILL be harder than that.
1484.

Solve : Convert PHPBB3 to SMF?

Answer»

I am having troubles converting PHPBB3 to SMF.

Here are the steps I took and what went wrong.

1) Installed PHPBB3.
2) Members registered, post were made, and so fourth.
3) Installed SMF.
4) Now have SMF and PHPBB3 on the same server.
5) I have a mysql database for SMF and another for PHPBB3.
6) Placed SMF's converstion tool in the root of the SMF folder.
7) Converstion tool is giving an error.

Here is basically what the error message says.

------------------------
Sorry, the database connection INFORMATION used
in the specified installation of SMF cannot access the
installation of phpBB3. This may either mean that the
installation doesn't exist, or that the Database account
used does not have permissions to access it.

The error that was received from the Database was:
SELECT command denied to user
'a3456r_smf''11.2.2.11' for table 'phpbb_users'
------------------------

I am almost 100% sure that the error is "that the Database account
used does not have permissions to access it." I am just unsure how to fix this issue as I don't know MUCH about PHPMyAdmin.give the a3456r_smf user permissions to the PHPBB database?

In phpmyadmin, open the "privileges" tag, look for the user "a3456r_smf" and click the "Edit Privileges" item, then scroll down and tweak the Database specific privileges items until you're satisfied that the user is no longer RESTRICTED from the phpbb database. Quote from: BC_Programmer on December 23, 2011, 07:11:03 PM

open the "privileges" tag

Where would I find this? I am confused. Also which database am I LOOKING under? Quote from: thumbtak on December 23, 2011, 07:32:07 PM
Where would I find this?
In phpmyadmin.

Quote
Also which database am I looking under?
None.


When I go to phpmyadmin I see only a way to enter one of the databases and edit that database. How do I get to the screen you show above?your webhost might be configured to not show you all of it, or you might only be allowed to use a SUBSET of the functionality of phpMyAdmin. If you can list the databases, though, they should have a "Edit privileges" icon next to them in the list, which should take you to a similar screen.This is what I basically see in the host.

1485.

Solve : Advertisement at webpage side bar?

Answer»

Respect to all webmasters and gurus,
 I have a website designed from dreamweaver 8 and i wanted to add ADVERTISEMENT to the WEB pages side BAR and also slide show to show all the images and text in the adverts.Any help would be appreaciated.Have you signed up for Google Adwords?I gather you want to generate some revenue from AFFILIATE marketing.  Is that right?  If so, Wikipedia has some good reading.  See http://en.wikipedia.org/wiki/Online_advertising, http://en.wikipedia.org/wiki/Affiliate_marketing, and perhaps other links from those pages.

You may want to try using an affiliate marketing service such as Commission Junction or LinkShare. Cleaned up a bit.

Quote from: Rob Pomeroy on December 27, 2011, 08:33:45 AM

Have you signed up for Google Adwords?
I think you mean AdSense Quote from: kpac on December 28, 2011, 05:04:39 AM
Cleaned up a bit.
I think you mean AdSense

Oops.  Yep!
1486.

Solve : Youtube Mass Uploader Script?

Answer»

Hi,

I'm looking for Youtube Mass Uploader Script. Please HELP Me

Thanks
Hem
I'm pretty sure YouTube has provisions to prevent exactly this.Here's YouTube's multi-upload PAGE: http://upload.youtube.com/my_videos_upload?restrict=gearsThanks for REPLY

But I need script to integrate into my site. I COULD do mass upload from youtube on my server.

You MIGHT need to look into YouTube's API: http://www.youtube.com/dev

1487.

Solve : Code to make image/text disappear after set period of time?

Answer»

I am the webmaster for the amateur radio club I am a member of. I recently completed a ground-up upgrade to our club's website. One of the new features on the site is a page where equipment for sale/trade/wanted may be listed. As part of the disclaimer, I put that items listed will be removed after 30 days. I remember seeing somewhere online where you can set a time-limit to remove a section of text and images after a set period of time, but I cannot remember where I saw it. An example of what I am talking about is when you go to a website and you see a "NEW" image after a listing. Usually those images are removed after a certain period of time, say 2 to 4 weeks.

I can't remember if what I saw was html coding or JAVASCRIPT coding, but one feature I do remember from it was a "hidden" command which goes into effect after the time has expired. If anyone has advice or can point me to a site where I can figure this out, I appreciate it.

ALSO, I did a search for this question in the forums here and couldn't find anything. However, I may have overlooked it. If I did, I apologize.Are you using a content management system, or is every single page statically coded?Statically coded. This site doesn't need a CMS. This coding need is only needed on one page.Two further questions: can you provide a link to an example page?  And is the web server in question PHP-enabled?The website is www.ncarc.org. The page I am working on is the Swap Shop. And yes, PHP is enabled.Your website doesn't FIT on my 1024 pixels wide screen!

Definitely use PHP, get it to check time and display the content if it's not yet past a certain date, that way the server sends the finished page as it should appear with no need for the client to do any processing on it, and the server won't be overloaded by such a small operation so there's no need to worry about it buckling under the pressure of the PHP script. Quote from: kl0if on January 04, 2012, 08:53:24 AM

The website is www.ncarc.org. The page I am working on is the Swap Shop. And yes, PHP is enabled.

So, there are a few different ways to approach this.  WITHOUT creating a full-blown CMS, I'd be inclined to do something along the following lines:

  • Create a subdir '/swapshop'
  • Place in this subdir text files or HTML snippets containing the details of each advert
  • Save the files with the date included as part of the filename - e.g. 2012-01-04-ad1.txt
  • Use a PHP DirectoryIterator to pull in all the text files, but only display those whose names indicate they are newer than (CURRENT date - 30 days).

How does that sound?  It would be up to you to ensure that the file names followed your chosen convention, since there's not a lot of automation built into this.That would work. However, one thing I engineered into the website redesign is simplicity. In the unlikely event that I need to surrender my duties as webmaster for some reason, I wrote all my code so that anyone with minimal HTML experience can come in behind me and continue to maintain the website. So having a simple method to remove a post after a set period of time would be better. Quote from: kl0if on January 04, 2012, 11:29:29 AM
That would work. However, one thing I engineered into the website redesign is simplicity. In the unlikely event that I need to surrender my duties as webmaster for some reason, I wrote all my code so that anyone with minimal HTML experience can come in behind me and continue to maintain the website. So having a simple method to remove a post after a set period of time would be better.

You can't do this with plain HTML. period. It's going to need a server-side script of some sort.I guess it would be possible to do something similar client-side with javascript - put each item in its own DIV that contains a date stamp somewhere in its ID attribute and then only display those DIVs that are "in date".  But this relies on client-side compliance (javascript being enabled; users not inspecting the code) and would be no simpler than the PHP method.

Essentially, like it or not, what you're talking about is a kind of CMS feature; you are managing content automatically.  Someone with only HTML experience (no javascript, no PHP) is not going to understand this.  Someone with PHP experience will easily understand it however, especially if your code is well documented.  Also, if you provide adequate documentation, any successor web master should be able to follow the basic pattern of creating text files complying to your file naming convention.
1488.

Solve : HTML codes?

Answer»

Is there a HTML CODE for a log in page that has a USERNAME or passwordNot with any MEANINGFUL kind of security.  Securely logging in requires some server-side coding (e.g. PHP or RUBY), not just HTML/javascript on the client side.hi william...

i write something for you....it works....take your username and password entered...now you need to validate the value obtained from your textbox in a database....

if (isset($_POST['but_ok'])) {
$U=$_POST['username'];
$pass=$_POST['password'];
echo 'username is ='.$u.' and password is '.$pass;
}
?>





   

Username :
Password   :



   

hope it helps...
1489.

Solve : Help with tables and page layout...please?

Answer»

I am "TRYING" to make a webpage for a friend and the following code for one of the pages I am working on and I am unsure how to get the text in the white area to spread across both columns, I am looking to have text centered in open white space and logo still centered on right side. No matter what I TRY to change it changes the whole look of the page and I just want to adjust the position and width of the text.




~ V.S.S. ~ Vanguard Security Services, LLC



     
       
         
       
     
 

     
       
         
         
       
     
  Training....The Key to Professionalism[/url] 

     
       
         
         
         
         

         
         

         
       
     
Home[/url] About Me[/url] Consulting[/url] Fire Training[/url]
         
Police/Security Training[/url]

           
OSHA/Safety Training[/url]

           
Training Calendar[/url] Links[/url]

           
Contact[/url]

     
       
         
       
     


             
               
                 
               
             

                             



                 


               
             









I earned my Bachelors of Science Degree from YORK College of PA
 
with a major in law enforcement and a minor in criminal investigations
 
and security.  I am certified as a Certified Protection Officer Instructor (CPOI),
 
a Certified Protection Officer (CPO), a Certified Crime Prevention Officer (CCPO),
 
and a Terrorism Awareness and Prevention Instructor (TAPI) through the
 
Commonwealth of Pennsylvania.  I also have my ACT 235 Lethal Weapons
 
Instructor through the Pennsylvania State Police.
 


I am also an active member with the following associations; International
 
Law Enforcement Educators and Trainers Association (ILEETA) and the
 
Fraternal Order of Police Lodge 73.
 

   
I began my training career as an assistant instructor at the U.S. Army
 
Infantry School at Ft. Benning GA.  After leaving the U.S. Army (active DUTY)
 
I was hired as a Protection Officer with York College of PA.  During those
 
years with the York College Security Department I was able to reorganize the
 
departments training program and set high standards for the department.
 


I then became an instructor with the college’s protective services program
 
and instructed in the areas of; report writing, officer safety, public
 
relations, interviewing victims and witnesses, conflict resolution, apprehension
 
procedures, OCAT, handcuffing, customer service, and protection officer.
 


I developed an Officer Safety for Security Professional Course and produced
 
a training video on “Approaching Suspicious Vehicles”.  I also assisted the
 
Professional Security Training Network (PSTN) with several security training
 
videos in the area of Mall Center Security, Emergency Plans of Actions, Basic
 
Security Officers Training series, Police/Security Relations and Dealing with the Elderly.
 


Another accomplishment was publishing a topic on the “Customer Service and
 
the Protection Officer”, for the International Foundation for Protection Officers (IFPO).
 
For career growth I decided to leave the Campus Security Department and move to
 
another area with the college.  I was hired in the Position of Mail Services
 
Manager, which was responsible for overseeing the Mail and Shipping and Receiving
 
Department for the College.  I then began to use my security background and related
 
it to the Mail area of the college.  In doing this I was able to accomplish several
 
things.  The first being the leading expert in Mail Center Security within the
 
College and University arena.  I presented various security topics across the
 
United Stated for mail conference working with the USPS Inspection Service, and
 
other College and University experts.
 


The second was the formation of the Middle Atlantic Region of College and University
 
Mail Services (MARCUMS) organization, which still one of the largest College and
 
University Mail Organizations in the United States today.  Through this organization
 
I consulted with several College and Universities in auditing and recommending
 
improvements for their mail and shipping procedures.



I left the York College and was hired to work from Crown American, Pennsylvania's
 
largest Mall owner developer.  Shortly after being hired I was promoted to the
 
Regional Security Training Director and responsible for the security operations of
 
26 regional malls across the United States.  After several years of overseeing the
 
security operation for the malls.
 


I left the mall industry and began teaching at YTI Career Institute, Lancaster
 
Campus in the Criminal Justice and First Response Program. Currently serving in the
 
Pennsylvania Army National Guard and ASSIGNED to 28th Infantry Division Headquarters
 
where I am an instructor in various military areas such as Blue Force Tracker, Basic
 
Rifle Marksmanship, Engagement Skills Training (EST 2000), and many other areas.



I instruct for the Department of Homeland Security as well as for the Pennsylvania
 
State Fire Academy.  I am currently the Chief of Police for the York Interstate Fair
 
which I oversee the Police and Fire Departments during the 10 days that the fair is
 
in operation.
 


I am the President of Vanguard Security Services, LLC and training consultant that is
 
responsible for training and advising Police, Fire, EMS, and private organizations on
 
areas of security.  Vanguard Security Services, LLC has been around since 1997 and going
 
strong ever since.  I help develop the Professional First Responder within the
 
Commonwealth of Pennsylvania.





Thank you for taking the time to learn about me and visiting my website.
 
If I can be of any assistance please don't hesitate to contact me.
 


Remember,
 


TRAINING ...the KEY TO PROFESSIONALISM!



Best Wishes,



Randy J Rice, B.S., CPOI, CPO

President


[/url]







                   
                     
                       
                     
                   


 
               
                 
               
             
Copyright
                    2011-12 © V.S.S. Vanguard Security Services, LLC | Designed
                  by Michelle L. Graham[/url]


     




Can you provide a link to a site where this is hosted?  It will be easier to see the page in context.

I'm bound to say that you're far better off using CSS for this rather than tables.  Tables should really be used for data, not layout.  CSS gives you far greater control and flexibility.hello...can you do me a design view so that i can understand where you want to position the text and logo....i will try to do it for you....thx beforehand
1490.

Solve : sample code for javascript beginners?

Answer»

Quote from: lina19 on January 09, 2012, 08:55:03 AM

its better to give people who are new to something very limited knowledge...once they are used to it...they will feel at ease...and u can add other technical issues...

But it's not REALLY a technicality, it's how HTML is defined, without it you're not writing HTML!  It's the first thing everyone teaches when learning HTML, go ahead and look at some online tutorials they all start off with this as the basics.i did understand your point...and i never said that u were wrong...i agree with u.......its u who is not understanding my point....

we are on a forum....and its not like a real time mode.....why do u need to give people lot of information initially??wont u create confusion to them???they will keep on asking question if u give lots of information to them...wont it TAKE time before the person get an answer?

like today u posted a reply...and then tomorrow the person will reply back...and then u gona explain....it will take like 1 month to make the person understand something if its not in real time mode....when things are not in real time mode u cant give much information...i really think...we should restrict ourselves to what people want to achieve....

if i was in chat or explaining to somebody in reality...then i will do like u say...like following standards and convention....u can show them on a diagram ...or paper...make people understand....even if it takes you like 24 hours....how can u do this on a forum???......didnt i say in my PREVIOUS comments...that u guys have made me realise about the importance of the tags...so this mean that i already have it in my mind......

thx...but...if now u still are not getting my point...let it be like it is.....
every one has their own way of explaining and i did understand what u said...and learn it...........

but just to clear something...i have welcome your IDEAS...else i wouldnt even dare going to read if i was stubborn like ur thinking....

Lina, the tag is a NECESSARY part of any HTML document. The head is not AS important, and isn't needed as long as there is a tag. If it's a necessary part of a HTML document then it's fair to say its importance is fairly high. Just because it works without it doesn't mean it's the right way of doing things.

"Start as you mean to go on..." Quote from: kpac on January 09, 2012, 11:27:22 AM
"Start as you mean to go on..."

Totally. Quote from: Veltas on January 09, 2012, 11:42:27 AM
Totally.

Explain. Quote from: Raptor on January 09, 2012, 11:44:57 AM
Explain.

As in, "I agree.""Just because it works without it doesn't mean it's the right way of doing things."

thx kpac: point noted....
1491.

Solve : Java Script Code That Triggers Open In New Window?

Answer»

or u WORKING with only javascript??you cant do the "IP" part with javascript+ database...


u will need to add all your ips in a database/textfile by using php(server side)...
whenever a new person comes...validate this new ip with your exisiting database value..
if it is not seen in the database, open page

in php u have a function known as header( instead of window.location...something LIKE this i forgot exactly....

else u can do this in javascript,

var [] array_list="";

var new_ip="";

for (int i=0;i{
 

for (int i=0;i{
    if (array_list.equals(new_ip))
   { window.location="a.html";
  }
}

sry...i havent worked with php nor javascript for ONE year...i have forgotten about the syntax...but the logic is here....and i guess u can understand it as ur a programmer as well....


u can use ajax as well to do it....

u cant extract ip from javascript....its impossible...

u can use java like applets to extract ip as well...
That is quite ok..You have helped me a great deal!! I wish I was a programmer lol,but I am LEARNING as I go along. Thanks again for your help!!Lina, please use the CODE tag when displaying code in your posts...

Code: [Select]// like this

Code: [Select]window.location = "URL HERE";
This just sends the user to a new URL in the same window they are currently looking at.

Code: [Select]window.open("URL HERE", "_blank", "width=300,height=200");
This opens a new window/tab with the specified URL. You can change the width and height if desired (in pixels).

Whether a new tab or window opens depends on the browser. I think IE opens new windows, Firefox opens tabs etc....there's no way to specify which one you want (I'm 90% sure).

To only display it once a day for each visitor is more complicated and involves using cookies to check the last time they visited the site. See Google.thx kpac...but where is the "code tag"...im not finding anything to help me show my codes...thanks beforehand Code: [Select][code ]Code[ /code]

without the spaces... Code: [Select] test ok thx

1492.

Solve : VerY Basic?

Answer»
When i press Submit I want it to writeout my FirstName and Lastname.. it coud be on a iframe, ANOTHER page or something...






First name:           

Last name:          






Code: [SELECT]
<?php

if(isset($_POST['FirstName']))
  echo $_POST['FirstName'];
if(isset($_POST['LastName']))
  echo $_POST['LastName'];

?>

<html>
<body>

<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">

First name:        <input type="text" name="FirstName" />   

Last name:       <input type="text" name="LastName" />   


<input type="submit" value="Submit" />
</form>

</body>
</html>

Assuming you have a PHP TEST server set up. If you're going to use this anywhere online, it's better to validate the data before displaying on a page - but this is the basic way of doing it.i dont use php...

u know with javascript? Code: [Select]<html>
<head>
  <script type="text/javascript">
    function open_window() {
      var first_name = document.getElementsByName("FirstName").value;
      var last_name = document.getElementsByName("LastName").value;
      myWindow = window.open('','','width=500,height=400');
      myWindow.document.write("<p>First name: "+first_name+"</p>");
      myWindow.document.write("<p>Last name: "+last_name+"</p>");
      myWindow.focus();
    }
  </script>
</head>
<body>

<form onsubmit="open_window()">
  First name: <input type="text" name="FirstName" />   
  Last name: <input type="text" name="LastName" />   
  <input type="submit" value="Submit" />
</form>

</body>
</html>

That should work...thnx but it doesnt work...
When i write my Firstname and lastname it STILL says:


First name: undefined

Last name: undefinedWorks now...

Code: [Select]<html>
<head>
  <script type="text/javascript">
    function open_window() {
      var first_name = document.getElementById("FirstName").value;
      var last_name = document.getElementById("LastName").value;
      myWindow = window.open('','','width=500,height=400');
      myWindow.document.write("<p>First name: "+first_name+"</p>");
      myWindow.document.write("<p>Last name: "+last_name+"</p>");
      myWindow.focus();
    }
  </script>
</head>
<body>

<form action="#">
  First name: <input type="text" id="FirstName" />   
  Last name: <input type="text" id="LastName" />   
  <input type="submit" value="Submit" ONCLICK="open_window()" />
</form>

</body>
</html>
1493.

Solve : Xampp-Mysql&php?

Answer»

Hi,

I am just starting with Php & Mysql except over the LAST few weeks I have been unable to get it configured correctly on my PC. Initially I tried INSTALLING the binary compiled versions, and trying different paths which did'nt work. I then deleted folder and restarted PC.
I then installed the xampp installer with xcp.v.3.02. However, the main problem is with MySQl.
The error message was:

MySQL said:

#2002 - The server is not responding (or the local MySQL server's SOCKET is not correctly configured)
Connection for controluser as defined in your configuration failed.

When I set security passwords in the Xampp local host for MySql, the message is that it is not found, or is blocked by a firewall, but it appears even when the firewall is disabled.

The second issue is that logging in with my passwords is not working, and the blue screen of death appear when trying to log-in. I have contacted xampp.org forum about this but I am not sure if they are going to reply as the MySql issue remains unanswered. I followed previous advice of uncommenting the 127,""" address in the my.ini.php configuration file, but this did not fix it.

Any assistance, or ALTERNATIVELY any links to payed support for this issue would to get Apache, MySql & Php working on my PC would be appreciated.

OS is windows xpsp3.

Regs,

Jen11hmm...which os are u using? is it windows??

for me apache + mysql works well everytime i use it..

http://www.apachefriends.org/en/xampp-windows.html

download installer

let me know the PROGRESS...

You mention XAMPP in the title of the post...are you using it?

1494.

Solve : CGi Help?

Answer»

I am making Mack  TV GUID People and Cosmo Covers.

Whenever I look on google to see how they have there Covers layedout I just see the Bar Code on the Bottum Left side.

Where is the PRICE they print on TV Guid and People and Cosmo Covers?

They do not SHOW it?
ThanksI have no IDEA what you're talking about.Buy a copy and use a scanner?

1495.

Solve : PHP form saving values to variables?

Answer»

Hey guys,

I really nee your help with this simple piece of code that has gotten the better of me. I want to save the form data to variables to display on the same PAGE when echo is used.

Here's my HTML code:

Code: [Select]<form ACTION="<?php $_SERVER['PHP_SELF'] ?>?savedata=1" name="sgfrm" method="POST" id="sgfrm" onSubmit="javascript:return validate();" enctype="TEXT/plain">
  <input type="hidden" name="flag" value="signup">
                        <table width="90%" border="0" align="center" CELLPADDING="5" cellspacing="5" class="bodytext" >
                          <tr>
                            <td width="30%">&nbsp;</td>
                            <td width="4%">&nbsp;</td>
                            <td width="66%"><DIV align="left"><span class="small_red">
                              <? if($errmsg!='') { ?>
                              <?=$errmsg?>
                              <? }  ?></span>
                               </div></td>
                          </tr>
                          <tr>
                            <td>Firstname<font color="#FF0000">*</font></td>
                            <td>:</td>
                            <td><input name="firstname" type="text" /></td>
                          </tr>
                          <tr>
                            <td>Lastname<font color="#FF0000">*</font></td>
                            <td>:</td>
                            <td><input name="lastname" type="text" class="textfield"  id="lastname" value="<?=stripslashes($_POST['lastname'])?>" /></td>
                          </tr>
                          </table>
                       </form>     
And here's my PHP code:

Code: [Select]<?php 
        $savedata = $_REQUEST['savedata'];
        if ($savedata == 1)
        {
        $firstname = $_GET["firstName"];
        echo "*** ".$firstname;
        }
        ?>
I know its a simple mistake but I cannot seem to find it.

PLEASE HELP!!  Code: [Select]<form action="<?php echo $_SERVER['PHP_SELF'] ?>?savedata=1"
You forgot the "echo".

1496.

Solve : Holding text stationary against a moving background?

Answer»

How would I keep TEXT stationary when SCROLLING down the page? I am using Windows Vista, WRITING some basic HTML code for my webpage.Code: [Select]<div style="position: fixed; top: 100px; left: 200px;">
  <p>
    Your text here.
  </p>
</div>
Further REFERENCE: http://www.w3.org/TR/CSS21/visuren.html#fixed-positioning

1497.

Solve : php email form Error?

Answer»

Can someone please tell me why this does not work ?




$formcontent = $_POST['name'] . ' would like some information.' . chr(10) . chr(13);
$formcontent .= 'their email is : ' . $_POST['email'] . chr(22)   . chr(24);

$formcontent .= ' Here is their Question  :  ' . $_POST['Question']   . chr(20) . chr(30) ;

$recipient = '[email protected]';
$subject = 'Website Form 2';

mail($recipient, $subject, $formcontent) or die('An error occurred while trying to send your e-mail, please notify Jo.');

echo "Thank You!";
?>

Thank you
Your Question has been sent.

click here to return to the Tooth Fairy homepage[/url]


also i USE the exsact same code on a diffrent website and it works fine ? i DONT understand ?Can you be more specific than "does not work"?  What result do you get?

While in development, you might find it useful to dump the contents of the $_POST variable, to see if it is receiving any data:

Code: [Select]<?php echo '<pre>'; print_r($_POST); echo '</pre>';  ?>
hello...i have tested your code:
the error i am getting is

Notice: Undefined index: name in C:\xampp\htdocs\a\a.php on line 3

Notice: Undefined index: email in C:\xampp\htdocs\a\a.php on line 4

Notice: Undefined index: Question in C:\xampp\htdocs\a\a.php on line 6

Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in C:\xampp\htdocs\a\a.php on line 11
An error occurred while trying to send your e-mail, please notify Jo.


$formcontent = $_POST['name'] . ' would like some information.' . chr(10) . chr(13);  line 3

you i guess, your error is
$_POST['name']...when you are extracting name...its not able to get the variable "name" , "email" etc...

i THINK you should place your html code in the same file...for example
$formcontent = $_POST['name'] . ' would like some information.' . chr(10) . chr(13);
---
---
---
?>



---
---
--



else you should include the html file on top of your php

include ("a.html");
$formcontent = $_POST['name'] . ' would like some information.' . chr(10) . chr(13);
---
---
--
?>

please, im just giving you the guidelines...please refer to google for exact syntax and format for include...i forgot a bit about syntax...


Lina, the script is intended to receive data from another web page.  You will definitely get those errors if you try to run it on its own.yea...true...

silverpersian....give us ur exact error....

and your full code...are u able to extract the values at least after passing them from the other page??

Quote from: lina19 on January 07, 2012, 01:39:07 PM
are u able to extract the values at least after passing them from the other page??

That's why I wrote this:

Quote from: Rob POMEROY on January 06, 2012, 09:17:44 AM
While in development, you might find it useful to dump the contents of the $_POST variable, to see if it is receiving any data:

Code: [Select]<?php echo '<pre>'; print_r($_POST); echo '</pre>';  ?>

Let's wait for the OP to provide more info.ok thx..... Quote from: silverpersian on January 06, 2012, 06:16:37 AM
also i use the exsact same code on a diffrent website and it works fine ? i dont understand ?

Is your webserver running the latest version of PHP?
Quote from: Rob Pomeroy on January 06, 2012, 09:17:44 AM
Can you be more specific than "does not work"?  What result do you get?

While in development, you might find it useful to dump the contents of the $_POST variable, to see if it is receiving any data:

Code: [Select]<?php echo '<pre>'; print_r($_POST); echo '</pre>';  ?>

I have the exact same problem as Lina! I did use the
Code: [Select]<?php echo '<pre>'; print_r($_POST); echo '</pre>';  ?>
QUERY yet it gives me an empty array.

What can be the reason? Quote from: corrievm on January 25, 2012, 12:44:20 AM
What can be the reason?

The PHP page has received no POST data.  So the HTML form didn't send POST data.  Possibly the form's method is set to GET, which is usually a bad idea.

Also remember that the PHP page will only receive data from somewhere else.  If you just load that page up, the array will indeed be empty and that is just as you would expect.
1498.

Solve : template monster?

Answer»

I am trying to design a web-site.
I got templates from a FRIEND.  It is called template monster. It came w/o any instructions.
Does anyone KNOW how to work these kind of templatesI am trying to create a e-commerce website.
Any recommendation on the template that I should get.
I need something very easy for computer novice.
Do you even recommend a novice to tackle such task?What platform are you using?I am trying to test my skills on my PC.
Window Vista
There are quite a few tutorials on this site

http://www.templatemonster.com/help/I merged your two topics.

I THINK we need to clear up some definitions. When it comes to an ecommerce site, a "template" on its own is no use. I mentioned platform above....an example of an ecommerce platform WOULD be OSCommerce. This is a widely used, customisable ecommerce package with plenty of templates availabe.Thanks Kpac.
That is how much of a novice I am at this.

1499.

Solve : Need help with Div Tag?

Answer» This is my WEB site andThis is how I am trying to MAKE it look. I haven’t BUILT any web SITES in a long time and normally would just use frames but I think Div Tag’s would probably be a better choice. I haven’t built a web site in a long time so I guess I’m kind of a noob at this. Any help would be appreciated. I would warmly recommend getting your head around this: http://960.gs/
1500.

Solve : Roll over Text Box on an Image Map?

Answer»

I'm not an experienced coder, but have created a working image map in Dream Weaver. I would like to get a text box arrive when the cursor rolls over the hot spot, before it is clicked on to go to another page.  SOMETHING to pop into this code here: HTTP://www.thebuzzaroundberwick.com.au/?view=cms&cms_ID2=2"> .....?? .... would be great! I have looked everywhere on the net and in the 'help' for DW, but can't find a way to do it simply. Thanks.

I have DISCOVERED it, and it is so simple. Just swap the ALT= label for AREA TITLE=. Works for me.  Glad you got it fixed.
Questions.
Doesn't Dreamweaver do it all for you?
Why modify code by hand?
I did roll overs back in  BDM * (ancient times) using a java script.

*BDM: Before Dreamweaver
I wandered all over the net LOOKING for a solution, and the one who had this said DW didn't PUT it in; I would have to put it in by hand. But then, I am not very experienced in DW. It may have been there. I will go back and have another look. It wasn't too difficult to replace, just copy and paste into each one. Quote from: Geek-9pm on January 29, 2012, 06:18:04 PM

Doesn't Dreamweaver do it all for you?
Why modify code by hand?
It's irrelevant if DW does it. And coding by hand is much more professional. Quote from: kpac on January 30, 2012, 07:44:50 AM
It's irrelevant if DW does it. And coding by hand is much more professional.
I give up...