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
118
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
250
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
216

The End.