Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 22 of 22
Search took 0.12 seconds.
Search: Posts Made By: iceboxqs
Forum: DOM and JSON scripting 08-25-2004, 12:02 AM
Replies: 9
Views: 1,718
Posted By iceboxqs
Mozilla white space

I have had quite a few problems with mozilla's white space.

Mozilla creates lots of white space while the user is editing an editable document. Like everytime they press return . . . . :p

You...
Forum: HTML & CSS 08-19-2004, 10:23 PM
Replies: 0
Views: 1,437
Posted By iceboxqs
Pasted text loses formatting - Mozilla, Mac, Mac Word

Howdy,

I was wondering if anyone else has this problem.

I am using the mac version of microsoft word (old version from like 2000, and I have tried the latest test drive version).

I create a...
Forum: DOM and JSON scripting 08-04-2004, 12:47 AM
Replies: 1
Views: 1,257
Posted By iceboxqs
I figured I give an update on this bit of code...

I figured I give an update on this bit of code since no one seems to have any ideas about it.

To force this code to work everytime, since there seems to be a problem with mozilla keeping the DOM...
Forum: DOM and JSON scripting 08-04-2004, 12:27 AM
Replies: 1
Views: 871
Posted By iceboxqs
duct tape solution

Well here is how I get around for now.

On the mac running mozilla you have to lose focus on the iframe window and then reapply focus to it.

However if you just use blur() any other windows that...
Forum: DOM and JSON scripting 08-03-2004, 10:55 PM
Replies: 1
Views: 871
Posted By iceboxqs
Mac Mozilla loses cursor in editable doc

Howdy,

I am taking the body.innerHTML of an iframe, doing some formatting to it and then tossing it back into iframe body.innerHTML.

I then use this code to get the cursor back to where it use...
Forum: DOM and JSON scripting 07-15-2004, 11:35 PM
Replies: 1
Views: 1,257
Posted By iceboxqs
How to place cursor where you want it.

Back again,

I've been working on a mozilla rtf editor.

I finally have found a way to place the cursor to a specific point anywhere in my editable document. Here is how I did it.

Somewhere in...
Forum: JavaScript programming 07-07-2004, 07:57 PM
Replies: 2
Views: 1,411
Posted By iceboxqs
Onpaste doesn't work on iframe documents.

Hello,

I am trying to get the onpaste event to trigger for a document in an iframe. This is for IE.

document.frames.myFrame.document.body.onpaste = function () { //do whatever }

The event...
Forum: DOM and JSON scripting 06-18-2004, 05:37 PM
Replies: 2
Views: 973
Posted By iceboxqs
Thanks

Hehe, that did it. Thanks.
Forum: DOM and JSON scripting 06-18-2004, 12:57 AM
Replies: 3
Views: 2,592
Posted By iceboxqs
lots of expection checks

Yes, I am aware of many situations like the one you explained. I acutally have it working just fine in IE . . . . lots of expection checking, heh.

I can't use <br> for various reasons I won't...
Forum: DOM and JSON scripting 06-18-2004, 12:37 AM
Replies: 2
Views: 973
Posted By iceboxqs
Collapse all mozilla selections?

Back for more . . .

I'm running into a problem with having a bunch of different selected areas in my editable document in mozilla. I can't seem to get them all unselected.

I can get one or two...
Forum: DOM and JSON scripting 06-09-2004, 06:48 PM
Replies: 7
Views: 1,590
Posted By iceboxqs
Here's how I got it working

Ok I am very upset at myself for this one, heh. It is done pretty much the same way in IE.

This is for mozilla.

The problem in the post above is the caret was being placed outside the div tag...
Forum: DOM and JSON scripting 06-09-2004, 04:13 PM
Replies: 7
Views: 1,590
Posted By iceboxqs
How about this problem?

Hello,

I have an editable document and I need to have the cursor placed inside of a specific div node in the document after doing a replaceChild.

For example:


Html view:

Here we have...
Forum: DOM and JSON scripting 06-08-2004, 07:06 PM
Replies: 3
Views: 2,592
Posted By iceboxqs
replace br tag with </div><div>, possible with mozilla?

I find myself here yet again,

Again I am using an editable document in a web page. (document.body)

In IE using outerHTML you can convert a <br> inside a div to </div><div> thus creating two...
Forum: DOM and JSON scripting 06-08-2004, 06:10 PM
Replies: 1
Views: 805
Posted By iceboxqs
temp solution

I'm guessing what the mozilla editor is doing is a bug.

Here is what I am doing to fix the problem.

On a delete or backspace keyup event I get the currently focused node and check it and its...
Forum: DOM and JSON scripting 06-08-2004, 04:57 PM
Replies: 1
Views: 805
Posted By iceboxqs
Mozilla editable document. delete/backspace

Hello,

I'm not quite sure where to post this on these forms but here we go . . . .

I'm using Mozilla 1.7 and have an editable document in a frame for a web page of mine. The best way to...
Forum: DOM and JSON scripting 06-02-2004, 10:41 PM
Replies: 3
Views: 1,126
Posted By iceboxqs
Here is the mozilla version I am running: ...

Here is the mozilla version I am running:

(1.6)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

I also tried Firefox:

(0.8)
Mozilla/5.0 (Windows; U; Windows NT 5.1;...
Forum: DOM and JSON scripting 06-02-2004, 07:40 PM
Replies: 3
Views: 1,126
Posted By iceboxqs
execCommand causes body to scramble?

Hello,

I am using execCommand(bold,false, null) in Mozilla 1.6 to make a selection, that the user created, bold.

This command works fine and the selected text does go bold, however I get weird...
Forum: DOM and JSON scripting 05-20-2004, 12:29 AM
Replies: 6
Views: 2,149
Posted By iceboxqs
Here is how I got it working in IE, don't know if...

Here is how I got it working in IE, don't know if it's the best but it works.



//Move through all the children.
for (var h=0;h<this.edit.body.children.length;h++) {

//create an empty...
Forum: DOM and JSON scripting 05-18-2004, 10:59 PM
Replies: 7
Views: 2,980
Posted By iceboxqs
Mamtakansal, I was wondering . . . ...

Mamtakansal,

I was wondering . . .

Would you be willing to share how you got it working with IE?

:thumbsup:
Forum: DOM and JSON scripting 05-18-2004, 10:55 PM
Replies: 6
Views: 2,149
Posted By iceboxqs
Grabbing nodes from fragmented selection?

Well, back again.

My question I think is some what related to this subject.

I need to be able to format or delete nodes that a given range covers.


Example:
Forum: DOM and JSON scripting 05-18-2004, 10:39 PM
Replies: 2
Views: 1,082
Posted By iceboxqs
With your help and another suggestion from a...

With your help and another suggestion from a friend (dealing with the formatting that I was doing) I got it working.

Thank you much.
Forum: DOM and JSON scripting 05-18-2004, 02:18 AM
Replies: 2
Views: 1,082
Posted By iceboxqs
Walking through all children in body?

Hello,

I am trying to move through all the children of the <body> tag. If there is a span or div I want to look at their children. If their children have children I want to look at them as well,...
Showing results 1 to 22 of 22

 
Forum Jump

All times are GMT +1. The time now is 02:44 PM.