Tag Archives: Computer Code

Avoiding redundancy in your code

Howdy everyone, Very first post here. A certain amount of background first… I used to be a C, C++, in addition to x86 assembly software program engineer. I spent all his time making sure I became utilizing good merchandise oriented techniques when coding and in the act of learning html I find myself initially frustrated simply because this seems difficult to do with HTML. As a result the Html page I’m generating has A lot of redundancy and Many opportunities to miss something as the site grows only decide to make a change to that redundant code that your. I assume there actually are some good methods of practice OOP with web development but since Now i’m so new… I simply don’t know where to take a look yet. Okay obviously, how ’bout an example. I need to get up to date fast so WHEN I figured Dreamweaver was the best way to do this. So far so great but I’ve run into a bit of frustration with the particular menu bar. The website I’m designing carries a menu bar and the bar is the identical under every web site. I’m using the actual Spry Menus within CS4. So, say … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | 1 Comment

Can someone help with bring-to-front code for pop-up windows?

Hello there, I have any music site, and on one particular page surfers can visit song titles also it opens up any pop-up window that contain the lyrics. While you click onto the principle window again, the actual pop-up then relegates to help underneath it, just in case you click around the same link once more, you get nothing – if you don’t closed the pop-up very first. How can i modify my javascript so clicking to the pop-up link will bring an already open window for the front This is the popup computer code currently: Code: < your href=" javascript: void(window. open(‘rpages/poar/dragofsloth. html’, ‘The Move of Sloth’, ‘resizable=1, width=585, height=420, top=60, left=60′))" > JUST ONE. The Drag of Sloth< /a> It’s important to focus() the eye-port. Try something like this (untested). Would be superior to slap the code in the function and call taht out of your link. < your href=" javascript: var times = window. open(‘rpages/poar/dragofsloth. html’, ‘The Move of Sloth’, ‘resizable=1, width=585, height=420, top=60, left=60’); times. focus(); " > JUST ONE. The Drag of Sloth< /a> That works! Thanks Smoseley, really appreciate it. So you’re telling (I’m a j. script newbie, excuse me) I should squeeze bulk … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Beginner Needs Help

I’m currently building a website with a wysiwyg software package. My problem is once i view my site online, my webpage is sitting during the screen with tons of blank space on each side. It is not filling the overall screen. Is there coding I could use to right this Thanks a great deal! First down, the difference you’re seeing isn’t just you — which is the criticism involving wysiwyg. A site usually looks good wysiwyged alone computer and then you certainly upload and observe what others observe and wonder just what happened. Nothing at all happened. The program forgotten standardized markup and that means you could design aesthetically. But that indicates nonstandard markup obtains widely varied outcomes as different browsers endeavor to interpret it. Mac people might not see what DESKTOP people do, and different yet to get a FireFox equipped Linux end user. You may be seeing just one problem of numerous that others could have. Following, post your computer code or a connect to the page, where people can look at source. Or post simply just those parts you have reason to consider are (or could be) at fault. HTML and CSS. Then you will know. It … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , | Leave a comment

URL added to a title: (in LightBox gallery) shows in Chrome

Greetings, We are using LightBox-05 and have a problem together with Chrome browser : a URL included to a title (see instance below) shows 2 user hover over a thumbnail. Could someone guide me to figure out how to avoid it, i highly recommend you Thanks! < the href=" images/imagename. jpg" rel=" lightboxgroupname" title=" & lt; the href=& quot; http: //www. websiteURL. com& quot; target=& quot; _blank& quot; & gt; Pay a visit to Website& lt; /a& gt; " > < img src=" images/imagethumb. jpg" alt=" insert alt text" title=" imagetitle" /> < /a> You need too much computer code in there, spouse. Code: < the href=" images/imagename. jpg" rel=" lightboxgroupname" title=" The Link Title Here" > < img src=" images/imagethumb. jpg" alt=" Alt Copy Here" title=" View Larger Image of (image name)" width=" (width)" height=" (height)" /> < /a> I in addition added width along with height attributes throughout. You really will need to use those. Thanks to your answer, TheGAME1264! You happen to be right, I ought to use width along with height attributes. BUT I do need every one of that " href" code from the " title" for a " Visit Website" link to present in … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

What is the best way to comment for you?

Straightforward questions deserve easy answers. I know web coding css php sql javascript plus I code in these constantly but I possess a difficult time preserving the comments dependable because I hold thinking oh this kind of looks better also this looks improved. Find out how to comment your computer code for easy readability I generally don’t. A programmer good friend of mine and also I share the same philosophy; if you name your options, subs, variables, instruction, etc. meaningfully, in which case you provide your very own documentation without having to comment the code (or no less than as minimal as possible commenting is expected. ) You see that is a theory I recently started to come across as I used to use three characters to represent everything: . hom_hea < – Someone MY PARTNER AND I worked for sought me to code similar to this. In which I evolved to help: . hom_header I wouldn’t apply three characters for something unless three characters is definitely an obvious abbreviation (e. f. I use Cur with regard to Current). But that is just me. activity is right. i have better things you can do then write unproductive figures. naming and … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Contact Form Boxes Out of Alignment in IE – Why?

Concerning used the identical contact form signal for http: //www. specialistangliansecurity. co. uk/contact/contact. php that we have used throughout other websites. During this website, however, it looks so in Firefoe but in IE this white boxes below Your Name plus Type Verification Code are away from alignment witht they other white boxes. Can anyone realise why this is or what may be done Code on speak to page (Your Name that’s out of alingment uses identical code as Your Email which is in alignment): Code: < mode action=" sas-mailer. php" method=" post" name=" form1" id=" form1" style=" border-style: starting point; margin-left: 20px; line: 0px solid #CC0000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; thicker: 599px; padding-left: 00px; " onsubmit=" MM_validateForm(’email’, ”, ‘RisEmail’, ‘name’, ”, ‘R’, ‘verification_box’, ”, ‘R’, ‘message’, ”, ‘R’); give back document. MM_returnValue" > < br /> < span class=" paracontact" > Ones Name: < /span> < br class=" contactform" /> < insight name=" name" type=" text" id=" name" style=" underlay: 2px; border: 1px sturdy #CCCCCC; width: 400px; peak: 22px; font-family: Verdana, Arial, Helvetica, sans-serif; " value=" " class=" contactform" /> < span class=" contactform" > < br /> < br /> < span class=" paracontact" > Ones … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

[Complete n00b to web development] Need suggestions on how to code this mockup ..

HOWDY guys… Well We have a little part-time selling thing happening as a pastime, and I’m wanting to make a really basic web page through which customers can indicate which items they need to buy, and what custom options they demand for organizations options.. As they are making selections, an overall displayed on the best side keeps changing of showing the update total cost depending on the options selected with the user.. So its kind of like what you view on custom computer building sites where users select selections to customize its machines.. In the completed the user gets into their email address inside a box and clicks on a button, which sends me an email with the complete configuration chosen because of the user so i always can examine the idea.. Listed here is a basic mockup We’ve just made on what I want to acquire: http: //img638. imageshack. us/img638/4472/myimage3. png (I tried that will put the image in however it didn’t work for some reason: / ) To be honest I have encounter in developing offline executable programs applying C++, C#, Espresso, etc.. But We have never done almost any web development… I dont have experience in coding … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Web Validation: Is It Necessary?

MY PARTNER AND I went though some painstaking seek advise from going though code to get all of our errors. It took me some time to finally get validation of my sites. But was this time really vital Insight please. As a result of, validation is not just advisable, it’s necessary, and for quite a few reasons. Valid code is prone to be cross-browser compatible and whenever a a display problem Allow me to often find them by validating this code to debug them. This helps to make certain the site is definitely reaching the greatest audience possible. Valid code is not optional for accessibility : and accessibility is significant – indeed in many places it is a law. Valid code will probably enable the search engine optimization spiders to learn the code properly. They don’t learn the code a similar way a visitor does, and if the code is definitely not correct, could miss information that might help as well as be found. Valid computer code makes maintenance less complicated – by isolating content, styling in addition to interactivity, it makes it much easier to obtain the place in that code where changes or updates need to be made. … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , | Leave a comment

CSS 3 and Validation

Hi WDF members. This may be on my thoughts lately and desired to get everyone’s view. As I’m sure most of you know, certain CSS 3 properties cannot as of yet validate based on the W3C’s validator. So Thought about have to ponder what the exterminator dallas of 100% thoroughly clean code is. I’ve heard that it adds to search results crawling, but honestly can’t investigate that. SEO will be the least of the skills and knowledgebase. Aside from Microsoft’s unwillingness maintain with the some other browsers and the support for CSS 3 OR MORE, I can’t discover anything wrong using using code of which IE doesn’t nevertheless support. IE hack’s look after a workaround in order to such properties just like gradient-fills and circular corners. With however, does invalid computer code really hurt an internet site I’m not implementing CSS3 or HTML 5 at the moment. It’s not that I’m old fashioned, I am keeping up to date and practising having both but throughout production code I adhere to HTML 4, a new strict doctype and CSS2. I’ve been qualified to achieve almost anything We need to over time with CSS2 in addition to HTML 4. Until HTML A … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment
Page 5 of 6« First...23456