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 |
|
| 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&h=111&as=1)'" title="Beca's history and servies." style="DISPLAY: block; BACKGROUND-IMAGE: url(~/media/CABA6A304EAA4196900D940D236932C6.ashx?w=184&h=111&as=1); WIDTH: 184px; BACKGROUND-REPEAT: no-repeat; HEIGHT: 106px" onmouseout="this.style.backgroundImage='url(~/media/CABA6A304EAA4196900D940D236932C6.ashx?w=184&h=111&as=1)'" href="~/link.aspx?id=F55306662A1F4A4991D22E3B4AF46358&_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... |
|
| 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. |
|
| 1455. |
Solve : Online training for html,php and css? |
|
Answer» Good DAY here,my salute goes to U all. |
|
| 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? 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. |
|
| 1458. |
Solve : html madness - vertical list with search box? |
|||
|
Answer» My code may be a LITTLE messy but here is my question.
|
||||
| 1459. |
Solve : uploading a site to host company? |
|
Answer» Thanks guys for sharing knowledge here. ... bluehost that is the author of dreamweaver 8 softwareBluehost 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.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 |
|
| 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/ |
|
| 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. 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. 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: |
|
| 1464. |
Solve : problem with creating a forum? |
|
Answer» hello guys, coz there are no mods that fulfill my requirements for these forumsCreate your own. Quote could you please tell me how can i learn from these forums? like examples and allJust 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. 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. HTML tips: Embedding Web Pages within Web PagesThanks 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?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. |
|
| 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 This IP ADDRESS has been seen posting comment or blog spam. Learn more on Wikipedia. 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" 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: 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* 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? |
|
| 1472. |
Solve : text flow on microsoft publisher? |
|
Answer» Hi |
|
| 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 "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... |
|
| 1477. |
Solve : PHP code to send automatic email using Yahoo, Gmail, Hottmail etc? |
|
Answer» Hi guys 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. 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? |
|
| 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. |
|
| 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… |
|
| 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: 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! 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. 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, 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. Oops. Yep! |
|
| 1486. |
Solve : Youtube Mass Uploader Script? |
|
Answer» Hi, |
|
| 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. 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:
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...
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.
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... |
|
| 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, |
|
| 1494. |
Solve : CGi Help? |
|
Answer» I am making Mack TV GUID People and Cosmo Covers. |
|
| 1495. |
Solve : PHP form saving values to variables? |
|
Answer» Hey guys, |
|
| 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;"> |
|
| 1497. |
Solve : php email form Error? |
|
Answer» Can someone please tell me why this does not work ? Thank you 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: 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? 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. |
|
| 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. Doesn't Dreamweaver do it all for you?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... |
|