We are trying to extend CKEditor via a "Comments" plugin, so that our content team can collaborate on writing content. Essentially, users can add comments to sections of selected markup (in the WYSIWYG editor) which manifest in the form of spans which enclose the markup selection. The comment is stored in the title attribute and displa...
Hi,
I have a green triangular image that I would like to use against particular list items but unsure how to do.
I created a class called .bullet and set list-type-image to my green triangular image.
Then set <ul class="bullet"><li>a</li></ul> but to no avail as I would've thought that "a" would come up as "> a"
Any ideas?
Thanks.
...
In an effort to keep code down I was hoping to use regular expressions with jQuery to switch the on and off states inside a hover for an image.
jQuery:
$(function(){
$("ul.dropdown li").hover(function(){
$(this).addClass("hover");
$('ul:first',this).css('visibility', 'visible');
}, function(){
$(this).removeClass("hove...
I'm looking at the html form of an external website (not maintained by myself) in the following format :
<form onsubmit="return check(this)" method=post action=address.aspx target=ttPOST>
....
</form>
I wish to post data to this external website without having to go through the form and pressing submit.
Can I simply go to the url 'a...
Hi,
I have a requirement for users to create, modify and delete their own articles. I plan on using the WMD editor that SO uses to create the articles.
From what I can gather SO stores the markdown and the HTML. Why does it do this - what is the benefit?
I can't decide whether to store the markdown, HTML or both. If I store bot...
I'm using HtmlElement to get an HTML element by it's ID and trying to display this value and return it (as a String). The problem is that it sees it as an Object.
I have a webBrowser in the code with an HTML file that has:
<label id="Address" text="asdf"></label>
In my C++ header file I have
HtmlElement^ element = this->webBrows...
I have a SELECT list with serveral OPTION elements. Here is my naive approach to styling part of the option text:
<select name="color">
<option value="0">red <span style="font-weight: bold;">SLOW</span></option>
<option value="1">blue <span style="font-weight: bold;">SLOWER</span></option>
<option value="2">green <span style="font-weig...
I want to create a div tag that has an icon to the left, and some text.
Now using jquery, if an event occurrs, I am adding a class to this div tag so that the icon is replaced with another icon.
I have the jquery side of things, but I'm not sure how to do this via CSS.
my css:
<div id="tag-user" class="usertag selected">Some tag</div...
I'd like to center a list of left-aligned items.
This is what I currently have:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Shrinkwrapped List</title>
<style type="text/css">
#wra...
I am trying to place a dropdown menu item below the parent menu. When u hover on the parent menu, the child dropdown menu item's visibility will turn visible.
I positioned the child elements using position:absolute and using top and left.
But when i change the resolution of the monitor the left and top alignment changes
How to positi...
Hello,
I'm trying to turn a layout I designed into a webpage in HTML+CSS.
The layout looks like this:
image
I want the central black div (with fixed width) to be centered while the menu should stay to its left and fill the entire left side of the screen, as shown above.
The problem is that I can't figure out how to style the menu to f...
I have the following code to send an email to the users.
$mes_body.="Click to Login. www.website.com/index.php\n\n";
$mes_body.= "<a href='www.website.com/index.php'>Click to Login.</a>\n\n";
Right now i am seeing the email as :
Click to Login. www.website.com/index.php
<a href='www.website.com/index.php'>Click to Login.</a>
Wha...
How would I insert text between two comments like the ones below with PHP. Thanks in advance.
<!-- BEGIN INSERT 1 -->
<!-- END INSERT 1 -->
...
Does anyone know of a easy to install photo gallery. I'm assuming it would have to be flash. I want to implement it on my own site. I am looking for the one that is thumbnails,and when you click a thumbnail, it expands and you can navigate through the other photos. Or something like that
The ones I have found want me to submit my mysql ...
I want to make all text links at my website have a bottom border. I use:
a
{
border-bottom: 1px dotted #333;
}
... but it adds a border to image links too and I don't want that.
How do I make it work for text links only?
...
I'm using a JTextPane to display some HTML that contains a table with a border. I want it to have a simple 1 pixel border.
I tried using style="border: 1px solid; border-collapse:collapse". This works in a web browser, but not in JTextPane.
Is there any way to have a simple 1 pixel table border using HTML in a JTextPane?
...
Say I have 2 links a1 and a2, and a2 is hidden. When the user clicks on a1, I want to simulate the clicking of a2. How can this be done with jQuery?
...
When I add the string below to an array in PHP and output it,
$spineArray[$i]="<itemref idref='part-$i' linear='yes'/>";
It looks like this when outputted. Why is the closing tag automatically added and can I stop it? Thanks.
<itemref idref='part-$i' linear='yes'> </itemref>
...
I'm working on my first website using php. I came up with a good way, or so I thought, to deal with including the css sheet depending on where I am. For example, I have a form that I submit to with this code:
$root = '../';
function died($error)
{
include '../includes/header.php';
echo "We are very sorry, but there were erro...
I have a blog where people can post their comments. My problem is that I need to enable people to be able to use math formulas using latex syntax. I cannot make any changes to the server. I can only embed a script in my HTML page.
Kindly help.
...