http://jsfiddle.net/M6xdq/
What I want to achieve, is - when user clicks the "read more" link:
it's removed
changes it's label to "read less"
this new "read less" link is added to next element of it's parent (readmore_holder)
"readmore_holder" is displayed;
Then there should be the other part with "read less" to swap links back aga...
Hi, I'm looking for a library/component/class to create synamic cross-tab reports that must be shown on a web page.
One important requirement is that it must run on Linux and written in PHP, Python, FreePascal, Ruby, C or C++. I can't use Java or Mono here.
...
I would like to compare a date to the current date in Django, preferably in the template, but it is also possible to do before rendering the template. If the date has already passed, I want to say "In the past" while if it is in the future, I want to give the date.
I was hoping one could do something like this:
{% if listing.date <= no...
Is anyone aware of any kind of ressources (projects, books, academic papers, etc) on inspecting a website's accessibility with javascript? (fully ajaxified websites, otherwise it wouldn't be possible with the precision I wish). I'm especially interested in evaluating the anchor paths followed by the visitor (read: graph theory).
Note: I...
Hi all, How can write a regular expression to retrieve values from xml node.
Actually the node structure is very big so we can't traverse easly, so i want to read as normal text file and hop i can write a regx to findout the matching elements.
<node1>
<node2>str</node2>
<node3>Text</node3>
<myvalue>Here is the values string..</myvalu...
I finally decided it was time to write that "killer web app" we all dream about. :-) I've been a programmer for almost as long as I can remember so I'm not scared of technology, but I haven't been active in the web world for about a decade. Looking for some help on the direction I should go.
The app I'm considering: (in order of impor...
What features do you implement (how) in your PHP web applications because
you deem it "more professional" in some way? Or do you have personal nitpicks
and code hobbyhorses, specifically small things that might count?
Which unsavoured code or minor functionality do you spend an inordinate amount of time on to get right?
.
Example co...
HI, I’m an experienced c# / ms-sql developer that has been mostly focused on WinForms / backend data services using remoting / XML Web Services and now some WCF RESTful services. I also have experience with ASP.Net WebForms (although not with Ajax or MVC).
I’m looking at creating a web site and wanted to get some input as to what t...
I am trying to deny access to a sub-domain directory from people accessing directly rather get them to browse to the sub-domain directly. For e.g I want people to be able to go to http://test.example.com and not http://example.com/test. If they do show a 403 Forbidden error. Is this possible through htaccess ? Googled it but cant see any...
I am just beginning to start learning web application development, using python. I am coming across the terms 'cookies' and 'sessions'. I understand cookies in that they store some info in a key value pair on the browser. But I have a little confusion regarding sessions, in a session too we store data in a cookie on the user's browser.
...
Hello dear,
I like to improve my career. And can you suggest some certifications for web developers? I find out w3school's certificate for HTML, CSS, JavaScript. How about it?
Thanks!
...
I am building a web service which uses some of an existing web site's methods.
However, some classes and methods cannot be used (for example Redirect - which obivously throws an exception when not invoked from a web site's context).
Now I came to a section in code where
HttpContext.Current.Application.Get(keyNames.EncodedKey)
Is used.
...
Currently, I have a script that calls Firefox and runs a macro, but this is very buggy and rarely works the way I want it to.
...
Hello,
I'm looking for a tree view web implementation. I'm using Grails 1.3.
The user has a need to navigate a data set > 80Mb. The data has a hierarchical nature, so a tree view seems natural. The ability to compare sub trees is also desirable. Loading the entire data set takes to long and will likely overload the browser. Is there a ...
If Facebook were to start over what should it use PHP or JAVA (J2EE)? Why?
Special considerations:
Scaling
Development speed
Maintainability
Development tools
Development costs
3rd party applications
Security
Deployment speed
...
i am using this css.
.text_style3{
font:normal 8px Helvetica;
color:#f7922c;
}
i want to it more small but after 10px this is not working. i have used 7px, 6px, 5px etc. but this is not working.
so how can i decrease size. this css is not working in mozilla.
...
I have an XML document with some sample content like this:
<someTag>
<![CDATA[Hello World]]>
</someTag>
I'm parsing the above XML in JavaScript. When I try access and render the Hello World text using xmldoc.getElementsByTagName("someTag")[0].childNodes[0].textContent all I get was a blank text on screen.
The code is not returning ...
Hi folks,
I have database on the server but as a developer when we found some bug in the product then to resolved that bug quickly we need to take dump of database which is currently present on the server.As the db size is much larger so it is not possible everyday to create dump and download it which is wasting some times.So I w...
Would the page load faster if I keep all my JavaScript files in a separate file say MyCode.js and reference that file? Or does it not really matter?
Thanks in advanced!
...
I'm a business guy, and would like to understand some of the differences between these two technologies when they apply directly to Facebook, and the 6 points below.
If Facebook were to start over what should it use PHP or JAVA? Why?
Special considerations:
Scaling
Development speed
Maintainability
Development tools
Development costs...