html

Blackberry - How to print HTML String in a field

Hi Everyone, I have an HTML String like <p>something</p> etc... some other html string etc... <p>something</p> I would like to print in a field this string formatted. in android I use a webview... in iphone a UIWebView... but in BlackBerry? Thanks ;) Sergio ...

feasibility of Joomla or Drupal

Hi, I would like to know how feasible is Joomla or Drupal towards a website development which has around 80 web pages? I'm a part time website designer who does a bit of server end development as well using PHP and Python/Django. However, i have never attempted developing a website of this scale. There is a lot of static content on this...

tips on writing my first html embeddable widget?

i have been asked by a client to develop a javascript(mootools)/html/css/php based game as a widget which can be deployed anywhere. I have not written a widget before, so would love to get some tips and experiences so that i know some of the pitfalls before i start! Thanks :) Dan ...

Line Break in Html Select Option?

Can I have a two line text in an html select option? How? ...

How to display XML in HTML in PHP?

Hello, I have a string with XML: $string = " <shoes> <shoe> <shouename>Shoue</shouename> </shoe> </shoes> "; And would like display it on my website like this: This is XML string content: <shoes> <shoe> <shouename>Shoue</shouename> </shoe> </shoes> So I would like to do it: on site, not in textbox ...

Add Class using jQuery

My Html mark-up is somthing like this <div> <div></div> <div></div> <div></div> <div class="last"> <div class="a"> <div class="b"> <div class="c"></div> </div> </div> </div> </div> Want to add a extra class in <div class="last">,<div cla...

Flex vs. jQuery vs. GWTvs./ Closre vs. Cappuccino vs. plain JS and HTML5?

Hello, I'm creating my first web application and I'm really confused as to what technology to go for. My application needs to look serious (like an application), it doesn't need many colorful graphical interfaces. It only needs a toolbar, a tab bar, a split panel (preferably 3 columns), an easily-formatable text field, and a status bar...

jQuery conflict with body onload event

I have a strange conflict in my code. I have a function that called from body onload: var someGlobalVar=new SpecialType(); function OnBodyLoad() { someGlobalVar.Bind(); } But when I include jQuery 1.4.2 in my project I get an error that someGlobalVar is undefined. Why is the global variable undefined now, and what ways are there t...

IIS 7, Asp.Net 4: Server cannot append header after HTTP headers have been sent?

I am getting the following warnings on the Event Log for a Asp.Net WebSite running on IIS 7. Exception information: Exception type: HttpException Exception message: Server cannot append header after HTTP headers have been sent. at System.Web.Hosting.ISAPIWorkerRequest.SendUnknownResponseHeader(String name, String value) ...

HTML Strict increases line height...

Hi Why does XHTML 1.0 Strict display a line height as appearing larger than a line height of the same value in XHTML 1.0 Transitional? This therefore pushing down content within table cells (i.e Hotmail in Firefox, Gmail in IE and Firefox). Has anyone else experienced this issue and know a way around it? Cheers Heres an example code ...

To HTML 5 or not to HTML 5 ?

I am a designer whose main marketing strategy is multi browser compatibility. I assure my clients that the site will work even in IE6 (!). Of late i have been pondering over the question of moving to HTML 5. The reason behind my apprehension is that IE6 is still a major player in terms of market share and i don't want to lose it. Is t...

How to disable form submit if the username is not available

I have checked the user name availability. The problem is, even if the username is not available, the form is posting. Edited Code: <SCRIPT type="text/javascript"> $(document).ready(function(){ $("#emailch").change(function() { var usr = $("#emailch").val(); if(usr.length >= 3) { $("#status").html('<img src="imag...

Click at link by address template

Hello, I'm using Selenium for making some work: script should click at link followed by it's own address. For example, there is a method: clickAndWait. I have to pass it link title. But at my page this title changes, so I have to pass address to click at. Could you help me with this? p.s. I asked this question in selenium group, but st...

Firefox can not layout nested tables properly?

I want to implement a collapsible menu. I plan to use table component to simulate a menu, and nest a sub table into a table cell to simulate a sub menu. Below is my code, it works as expected in IE, Chrome and Safari, but it doesn't work well in Firefox: <html> <body> <div id="menu" style="position:absolute; left:150px; top:100px; z-...

javascript print action - printing date/ url

In one of my project, I need to display print option to the user (on loading html page). While this works fine, but the content printed contains the url and date of printing. Please let me know how I can configure at javascript level (not at printer level) so that these default things (url, date of printing, page 1 of 10 etc..) are no...

ASP.NET Server.HtmlEncode Wont Encode €

I know that the EURO currency symbol (€) is encoded as &euro; in HTML, but the System.Web.HttpUtility.HtmlEncode("€") doesnt encode it at all. Does anyone know why that is? ...

PlaceHolderMain controlling td width of hard-coded values

In my custom .master page I have the following code: <asp:ContentPlaceHolder id="PlaceHolderMain" runat="server" Visible="true" /> This prints out the main content of my page. It contains this structure <table ID="OuterZoneTable" width="100%"> <tr>...</tr> <tr id="OuterRow"> <td width="80%" id="OuterLeftCell">...</td>...

Missing } in XML expression

I have an external javascript file that I want to, upon include, write some HTML to the end of the web page. Upon doing so though I get the error Missing } in XML expression on the line that uses dropdownhtml. Here is my code var dropdownhtml = '<div id="dropdown"></div>'; $(document).ready(function(){ //$(document).append(dropd...

how to restrict user to copy web content

I am creating a web site and my client demands to restrict user to copy TEXT displayed on the web page.how can I do that? I am using PHP and HTML in my application. ...

Designing a table which shrinks when browser size is adjusted

I have a HTML table which I want to make fluid so that when it resizes, the table collapses/shrinks, just like the table on http://sis.bristol.ac.uk/~cckhrb/webdev/code/site/fluid.htm. How can I design such a table? Thanks ...