6,574 Topics

Member Avatar for
Member Avatar for McLaren

Hello, I want to ask about better practice. lets look at example function this.get_active_group = function() { var active = ''; if ($('#dogs_bet_window #first_row').hasClass('listening_keyboard')) { active = 'first_row'; } else if ($('#dogs_bet_window #second_row').hasClass('listening_keyboard')) { active = 'second_row'; } else if ($('#dogs_bet_window #special_offer').hasClass('listening_keyboard')) { active = 'special_offer'; } else if ($('#dogs_bet_window …

Member Avatar for pritaeas
0
164
Member Avatar for Tinnin

My code so far: $message = '<html> <head> <title><?php echo $subject; ?></title> </head> <body> <?php echo '<table align="center" cellspacing="3" cellpadding="3" width="100"> <tr> <th align="left"><b>Player Name<b></td> <th align="left"><b>Number of Goals<b></td> </tr>'; while($row_GetCurMonthPlayerGoals = mysql_fetch_assoc($GetCurMonthPlayerGoals)) { echo '<tr> <td align="left">' .$row_GetCurMonthPlayerGoals['FRName']. '</td> <td align="left">' .$row_GetCurMonthPlayerrGoals['Sales']. '</td> </tr>'; } // Close the table: …

Member Avatar for Tinnin
0
348
Member Avatar for lakshmi_suchi
Member Avatar for Violet_82

Hi all, I am having a few problems with a css. Basically in my conditional css I need to target IE9 and below (IE9 included). Now, I have this: <!--[if IE 9]> ... <![endif]--> and <!--[if lt IE 9]> ... <![endif]--> Can I combine them together somehow? thanks

Member Avatar for Violet_82
0
65
Member Avatar for Amicallef1991

Hi, I have a mysql database with some student info records. I am trying to Update a record in the db using a html form and a php script however it wont update. It doesnt give me any errors. Can anyone assit me please. Here is the code. **editingRecord.php** <?php …

Member Avatar for Amicallef1991
0
615
Member Avatar for earlxph8

hi guys, im using this CSS code to create a page like an A4 size paper .box { width:700px; height:700px; padding:30px; border:1px solid black; margin:1px; display:table; } my problem is: when i print preview, even if i set settings of printer to reduce and fit, still it makes 2 pages, …

Member Avatar for earlxph8
0
189
Member Avatar for imonbayazid

I want to translate a string using Google Translator with HtmlAgilityPack; . I want to use HTML Agility Pack to parse HTML documents. I tried this: using HtmlAgilityPack; ............. var webGet = new HtmlWeb(); var document = webGet.Load( "http://translate.google.com/#en/bn/this%20is%20my%20string"); var node = document.DocumentNode.SelectNodes( "//span[@class='short_text' and @id='result_box']"); if (node != null) …

Member Avatar for IdanS
0
320
Member Avatar for daino

I'm building a C++ applicaiton and have very little to do with HTML in the past. I'm using wxwidgets at the moment but want to try to use HTML. Is that realistic? With HTML can I build a GUI and use it like a normal GUI or am I missing …

Member Avatar for NardCake
0
128
Member Avatar for baig772

I have a search form with only one text field. The problem is that the width of that `text field` is not same. the style is form#index-table-form input[type="text"] { width: 106px; height: 24px; position: absolute; outline: none; right: 0; top: 6px; border: 1px solid #3772af; padding-left: 6px; padding-right: 24px; font-family: …

Member Avatar for PriteshP23
0
128
Member Avatar for PriteshP23

How to fixed the layout of page for ALL screens? I mean to say on "ANY" size of COMPUTER SCREEN, Page-layout should be the same. In fact, i would like to put width:100% ONLY for header and footer. I would be more than happy IF i can have small EXAMPLE …

Member Avatar for Steve hasting
0
400
Member Avatar for saucy6969

hello i am trying to make one of my original pages open up in the centre of my website (as all the other pages do). when clicking on the Boarding House Reform button on the right hand side of the page, it opens up without the frame around it. No …

Member Avatar for JorgeM
0
206
Member Avatar for Proglearner

How do you create a html input form that can receive an infinite amount of text, and that necessarily has a fixed size on the webpage but scrolls with additional input that goes past the bottom of the box? And would this be a potential denial of service hole in …

Member Avatar for Taywin
0
602
Member Avatar for jacob21

How to make HTML Page Full screen?? With "full screen" I mean that it should take all the space of user's screen,just like when we watch a video with the full screen model. I do not want the task bar/menu bar of the browser window display. Any suggestions??

Member Avatar for jacob21
0
6K
Member Avatar for randomkid73

Hi all, I've got a sprite with a few icons on it that I'm trying to implement on my site. They are used in multiple places on the page and need to have different properties. Sounds simple enough, but I'm having trouble finding the right selectors to get this to …

Member Avatar for randomkid73
0
119
Member Avatar for Khav

Hello I want to extract content of a website found between some specific html tags.How can i achieve that with php. For e.g consider viewing google.com soure code.I want to extract data with <title> </title> tags and store it in a variable(its "Google" in this case) Bascially script navigates to …

Member Avatar for veedeoo
0
270
Member Avatar for The Imp 96

Hi guys, I'm once again stuck on something that is probably simple to solve, but I cant figure it for the life of me! Basically, I'm trying to make my website look as fluid as possible. I dont want it to look all boxed and hyper organised, but I want …

Member Avatar for The Imp 96
0
142
Member Avatar for ambageo

HI! I want to write a constructor that will make a window (a frame). I want to be able to insert the height, width, position and window color. This is what I've written: public Window(String name, int height, int width,String c,String isActive,int PointX, int PointY){ setTitle(name); setSize(height,width); getContentPane().setBackground(Color.c); setLocation(PointX,PointY); setVisible(isActive.equals("active")); …

Member Avatar for ambageo
0
203
Member Avatar for techbrain

Hello, Some tips about web design in 2013, Leaving the Doomsday behind and entering in the new year of 2013 still if you will search or just Google from other source you will notice that sale of PC (Desktops) is decreased in the year 2012. The question that arises is …

Member Avatar for mattster
0
939
Member Avatar for dancks

I decided the best way to learn css was to try to recreate pages of web sites. I chose youtube, because the layout seemed challenging but doable from a noobie perspective, and I get to watch youtube vids in the process. I am having trouble recreating the part under the …

Member Avatar for AleMonteiro
1
211
Member Avatar for techyworld

Hi, I'm coding a game, i have a form to create player. I use html5 storage to create this. But the problem is if you go to tools>local storage, the password is visible. I want to implement some sort of security to hide this password in javascript. Can someone tell …

Member Avatar for techyworld
0
121
Member Avatar for earlxph8

hello, do you know how to make broken underline css decoration, there is underline but cant find sample on broken one. thanks.

Member Avatar for earlxph8
0
150
Member Avatar for RenanLazarotto

Hello guys! I'm making a site and I want to add a mouserover effect on the social-network icons, exactly like what WinRumors ([http://www.winrumors.com/](http://www.winrumors.com/)) have on their social icons. To understand what I mean (and what I want), open the WinRumors site and place your cursor on top of any of …

Member Avatar for RenanLazarotto
0
152
Member Avatar for Start4me

I want this code to run in the background but still be active: Private Sub frmMain_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress lblTest.Text &= e.KeyChar End Sub

Member Avatar for Start4me
0
286
Member Avatar for Malymieczek

Hi all, Im working on a website, and Im trying to put a navigation bar in the navigation divider I made, however when I put the image in, it doesnt go into the divider, even though its between the <div> tags. Heres what it looks like: ![enter image description here][1] …

Member Avatar for JorgeM
0
198
Member Avatar for katties

Hi I have this question about a loop that would create many numeric-value drop downs on a page. So far I have managed to populate with javascript only one per page. I am trying to make a loop that would take various id-s of the 'select' tags in html, and …

Member Avatar for katties
0
231
Member Avatar for techyworld

Hello, I have an html5 form, I want to validate it and when clicking on submit, it calls the function register. The way i done it below is not working. Can you please help me? I think i should do it with javascript but i dont know exactly. <!DOCTYPE html> …

Member Avatar for imran18
0
251
Member Avatar for jjackie

Can any one suggest me what is the major difference between **XML & HTML Site Map** ?

Member Avatar for WebDoubts
0
110
Member Avatar for Proglearner

I need a code snippet that causes the browser to zoom in on webpage content when a link within the webpage is clicked. Is there even a single, standard way to do this with all browsers? I've tried looking around for the code but haven't been able to find it. …

Member Avatar for Proglearner
0
236
Member Avatar for spidyrace
Member Avatar for broj1
0
120
Member Avatar for bangla

Hi, I am generating a random number. Then i click start. How can i see random value of q1 in html row after i click on start button? <!DOCTYPE html> <html> <HEAD> <SCRIPT language="JavaScript"> <!--hide function newtext() { var q1=Math.floor(Math.random()*11) document.myform.mytext.value=q1; setTimeout("moretext()",4000); } function moretext() { document.myform.mytext.disabled = true; } …

Member Avatar for rotten69
0
217
Member Avatar for jitendra777

I have a premium html blog template - how can I use to create theme and use in blogEngine.net? I had been to this webcast... Creating custom themes (25:00) [Click Here](http://www.nyveldt.com/blog/post/blogenginenet-creating-themes-webcast) , however, it has been deleted.

Member Avatar for Paul vikas
0
353
Member Avatar for janguyo

<?php include("menu.php"); ?> <?php include("dataaccess.php"); ?> <?php include("functions.php"); ?> <?php //' Copyright 2004 Vender-MGT http://www.vender-mgt.com if(!empty($HTTP_GET_VARS)) { if (!empty($HTTP_GET_VARS["orderby"])) $orderby = $HTTP_GET_VARS["orderby"]; if (!empty($HTTP_GET_VARS["order"])) $order = $HTTP_GET_VARS["order"]; if (!empty($HTTP_GET_VARS["id"])) $categoryid = $HTTP_GET_VARS["id"]; } if(empty($orderby)) { $orderby = "projectname"; } if(empty($order)) { $order = "asc"; } if ($order == "asc") $order …

Member Avatar for diafol
0
193
Member Avatar for gopi17

Good Evening earth.... I have a question here, can someone guide me with my question Here it goes. I have a html form, which calls the function in javascript and prompts the user whether to delete a specific user.The dialog box prompts but it is not sending the value that …

Member Avatar for broj1
0
256
Member Avatar for jspence29

My site is www.jeremyspence.net78.net. As you scroll down I want to make the main menu dissapear(the one menu you see now) and another smaller menu (kinda like the apple menu from apple.com) appear on the top that is fixed, I was thinking about making a sticky menu, but I want …

Member Avatar for JorgeM
0
220
Member Avatar for T4gal

Hello, When viewing [this page](http://www.jjwangracing.com/setup-sheets-electric/) in IE 8, I'm seeing weird white lines. There is one right below and above the "Coming Soon!" header, and two below the small grey sentance below it. I've looked at the CSS, and I can't see anything that could be causing this, and the …

Member Avatar for T4gal
0
141
Member Avatar for Rizi004

hello i want to write the given css code in javascript but it is not working i have the div with id one. below is the css code that is working fine ` <style> #one { width:96px; height:0px; left:204px; top:65px; z-index:2; position:absolute; background-color:#FFF; animation:myfirst 2s; -moz-animation:myfirst 2s; /* Firefox */ …

Member Avatar for gon1387
0
3K
Member Avatar for cristian.stilpeanu.3

Hi, i have problem whit a border, i want to set to center but make's higher column when it's to the center, please help me. there it's the original code: ![saveus](/attachments/large/3/saveus.png "saveus") <label for="">Nume de utilizator: *</label> <input class="bar curved5" name="user" type="text" id="user" maxlength="16" value="" onFocus="change(1)" class="validate[required,custom[noSpecialCharacters],length[5,16]]" /> there it's …

Member Avatar for cmps
0
514
Member Avatar for divyakrishnan

Hi.. I have a group of checkboxes and I want to apply a style to checked checkbox and remove the style of all other boxes.Here only one checkbox should be cheked at a time. The code I used as follows <script type="text/javascript" src="jquery-1.7.1.min.js"></script> <script type="text/javascript"> $(document).ready(function() { $(".item").click(function(e) { //$(".item").each( …

Member Avatar for diafol
0
1K
Member Avatar for rubai

I am trying to develop a wp theme. But a problem arise with the footer. I have uploaded the theme in my testing server. http://wp-site.co.cc Here footer area comes into left side, just beneath the sidebar. But I have created separate footer.php file and div for it. I want to …

Member Avatar for rubai
0
231
Member Avatar for mgn2683

I'm having a problem with my main site navigation. I've made some changes to my easy slider that is on the same page, and the top nav seems to have adopted this. Is supposed to show: #nav a{ display:block; color: #474747; text-transform: none; font-size: 13px; text-decoration: none; background: none; padding-top: …

Member Avatar for mattster
0
255
Member Avatar for cheelo007

I have a site that has categories of images generated from the database, I am trying make it so when the user selects a category, the query is based off of that selection and the respective images load. Is that something that can be done? Here is my current code. …

Member Avatar for cheelo007
0
202
Member Avatar for garyjohnson

Okay so I have created a function which brings up a column of information into a html drop down menu from a certain table. Now I want the data selected to be put into a value so it can be used in an upload form. This is the function. Thanks …

Member Avatar for garyjohnson
0
530
Member Avatar for prasadssaitwal

<?php function getlink($x) { $y=$x.'.php'; return($y); } $a=array('0','1','2','3','4'); for($i=0;$i<5;$i++) { echo '<li><a href='.getlink($a[$i]).'>'.$a[$i].'</li>'; } echo '<iframe src="">'; ?> when i click on the links instead of new tab it should be open in iframe

Member Avatar for veedeoo
0
389
Member Avatar for rfrapp

I believe that one of the pages of the site that I'm creating is shifted slihtly to the left. I may be going crazy, but I'm pretty sure that's what's happening. The page that I believe is shifted is: http://armyants.us/members.php?steam=All If you guys could help me out here, then that's …

Member Avatar for EvolutionFallen
0
113
Member Avatar for jspence29

I have a one page website http://spencedesign.netau.net/SNL/SNL.html#home I am using anchors and targets, I am using overflow-y: auto; but the scroll bar only displays when the screen is big enough, so it works on my 1920 by 1080 desktop, but not on an average size laptop, how do I make …

Member Avatar for gauravkumaralwar
0
120
Member Avatar for varma51

hii this my code.the problem is i'm changing the background color for an header using on click function in javascript.but wen i did page refreshing the default background color is appearing.i want to dislay the changed background color of that header wen once on click function is done. please help …

Member Avatar for diafol
0
283
Member Avatar for Wailintun

Hi! I want to know how to hide src source in html Now I disabled right click to my web page and it can still view source code by ctrl+u. please tell me how to hide source code in html. http://www.immihelp.com/visitor-visa/sponsor-documents.html this site hide it's source code.

Member Avatar for urtrivedi
0
64
Member Avatar for DyO1

Hello, I need a code that checks if a button is pressed to change the BackGround Image of Picture Box So when the button is pressed,a backgroundimage of a picturebox must be changed I tried to use PictureBox1.BackgroundImage.FromFile("IMAGE.bmp") *THE IMAGE IS IN THE PROJECT,IT'S NOT ON THE HARD DRIVE ANYMORE**but …

Member Avatar for tinstaafl
0
119
Member Avatar for Navlag

Hello, I am using the tutorial from Oracle's site on how to connect to a database in PHP using code similar to the one shown below. <?php // Create connection to Oracle $conn = oci_connect("phphol", "welcome", "//localhost/orcl"); $query = 'select * from departments'; $stid = oci_parse($conn, $query); $r = oci_execute($stid); …

Member Avatar for Navlag
0
129
Member Avatar for Eyeteeorg

I have a simple html webpage currently implemented, and my Firefox web console has the following complaint about it when loaded remotely: [13:08:03.588] The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from …

Member Avatar for Eyeteeorg
0
124

The End.