html

Assigning specific menu administration rights for roles in drupal

Hello folks. I'm trying to give one of my roles the administrative rights to add/remove content in a specific menu (but not all menus). I think I found a module that should enable something like this, http://drupalmodules.com/module/delegate-menu-administration I've followed the instructions, added the role to my user, checked the "adm...

Nice looking xhtml/html when I "View Source"?

I'm just curious if anyone has any tricks on how to keep source code looking good when you "View Source." I'm militant about keeping my code well formatted and spaced while I'm developing and I tend to "View Source" a lot to double check the output (when firebug is overkill). When I start using RenderPartials and RenderActions and anythi...

HTML: Disable Click in a cell of a table

i have a calendar formed table. and i was wondering how can i disable all the clicks under that cell. because my argument would be. anything less than the current date will be disable. meaning all click functions of all the child of the td on that dates will be disabled (add, edit, view list) can you help me out. i cant give any code. c...

Arrow keys as accesskeys?

Is it possible to use arrow keys as access keys, as in Ctrl+Alt+rightArrowKey for a key combination? ...

why are form variables not available in this php code?

I have a form on my PHP page which performs some ajax validation (that's working). Here's a snippet (the live form has more fields than this) <form name="form" onSubmit="return validate_form();" action="submitform.php" method="post"> <table border="0" cellpadding="5" bgcolor="#000000"> <tr> <td width="175...

How to change the style of Title attribute inside the anchor tag?

Example: <a href="example.com" title="My site"> Link </a> How do I change the "title" attribute. By default, it just has yellow background and small font. I would like to make it bigger and change background color. [edit] Is there CSS setting for the title attribute? ...

When will this happen?

<script type="text/javascript" src="test.php"></script> The first time I visit that page,test.php is not visited, but if I refresh the page,it'll get run. Have you ever experienced this ? ...

Should I use an XMLHttpRequest /JSON or an iFrame?

I have been making extensive use of XMLHttpRequests and JSON to fetch from a MySQL database and return records as arrays. It works perfectly. Additionally, I have three cases in which I have the server (via PHP) formatting the data as a web page and creating bar charts (as opposed to sending arrays back to JavaScript for processing). Cu...

How do I save an html page to a database?

I just want to know if it's possible. How do I save an html page and all of its contents to a database? like for example, I have a database wherein it consists all HTML pages. Just want to know if its possible. And how to retrieve it too. We're using PHP as our language. Thank you. ...

Controlling the HTML "a tag" with css

Hi all, Bear with me, and my newbie jargon concerning CSS, I don't remember the last time I asked a question about it. I am trying to style a menu, and am having troubles styling the "a tag" inside of the html table. My default a tag styles are: a:link { color : #69bfc8; text-decoration : none;} a:visited {color : #69bfc8; text-decorat...

ASP.NET Default Document

i have default.aspx and index.html. I uploaded both to the server, but i want my first page start with index.html. What should I do? ...

how to align list text to center

i'm using an image for "li" element. the problem is the text displayed under the image.how to align text to center of the list image? looks as follows css: ul.mark{ list-style-image: url('bullet1.jpg'); } html: <ul class='mark'> ... </ul> ...

Extra row after border

Hello! If i use this code, unfortunatelly i get extra "row" after the dotted border. Could you help me, how can i set the "space" to 0, after the border? <td style="height:50px; line-height:10px; margin-top:10px;" > <div class="test"><p>test line 1</p></div> <div class="test"><p>test line 1</p></div> <div class="test"><p>test ...

Not able to determine Font and style in a page.

I have a page but I am not able to determine it''s font style. I checked the view source but nothing is visible. Some lines are commented. Please let me know how to determine the font name: <html> <!-- InstanceBegin template="/Templates/inner.dwt" codeOutsideHTMLIsLocked="false" --> <head> <!-- InstanceBeginEditable name="doctitle" --> ...

Facebook charset detection mechanism?

Today, I have looked into HTML code of facebook.com, and found something like this: <input type="hidden" value="€,´,€,´,水,Д,Є" name="charset_test"/> It's repeated two times inside the <form>...</form>. Any idea what this code might be useful for - some kind of server-side client charset detection? As far as I know, browser charset is...

position:fixed in IE

I use position:fixed for creating a chat window like gmail it works correclty in firefox but does not in IE and the page is locked (not scrolling) the html code is below: <div align="center" style="font:14px BNazanin,Arial" > <form wicket:id="chatForm" style="position:fixed; bottom:0; right:5"> <table width="175" border="3"...

Coloured diff to HTML

I enjoy using git diff --color-words to clearly see the words that have changed in a file. However I want to share that diff with someone without git or a colour terminal for that matter. So does anyone know of a tool or trick that can convert colour escaped terminal output into HTML? ...

How two different domains to be viewed in the single browser ?

I have two different application having different domains, want to make a site where its show both sites in a single page.[Without using Iframe]. ...

Image upload functionality with preview

I have to implement an image upload functionality in asp.net. The method I have followed works like this :- Submit a form containing an <input type='file'> element and set the target of the form to a named iframe[to give the impression of a Ajax request/response ]. The aspx file which this form is posted to, writes the image into the re...

mouse over effect in html

please tell me the html syntax with example so that when i create a hyperlinked image.i get a comment generated beside it that what does this link will do? ...