473,800 Members | 2,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Smoth right scroll

Hi,

I would like to ask for your help.

Please look at the code below.

I would like to keep the location of the buttons while scrolling to
the right but I can't get a smoth scroll (without flickering of the
buttons).

BTW:
I need it for IE only.
Thanks,

Yaron
<html>
<head>
<title>Scrool Right</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaS cript">
<!--
function scrollBTN()
{
var scrollLeft = document.body.s crollLeft;
document.getEle mentById('BTN1' ).style.padding Left = scrollLeft;
}
//-->
</script>
</head>

<body bgcolor=#FFFFFF onscroll="scrol lBTN()" >

<TABLE CELLPADDING="0" CELLSPACING="0" BORDER=0>

<TR>
<TD width="1900">11 111111111111111 111111111111111 111111111111111 111111111112222 222222222222222 222222222222222 222222222222333 333333333333333 333333333333333 333333334444444 444444444444444 444444444444444 444455555555555 5555555555555</td>
<TD>&nbsp;Right </td>
</TR>

<tr><td colspan="2">
<div id="BTN1">
<input type="BUTTON" value="Get">&nb sp;<input type="BUTTON"
value="Clear">
</div>
</td></tr>

</TABLE>
</body>
</html>
Jul 23 '05 #1
8 1985
Yaron C. wrote:
I would like to keep the location of the buttons while scrolling to
the right but I can't get a smoth scroll (without flickering of the
buttons).


Using onscroll could be used with advantage, but in your case you're
telling the UA to re-position the element as soon as possible - try to
handle the re-positioning more progressively.
<script type="text/javascript">
for(var ii=0,s="";ii++< 100||document.w rite(s);s+=ii);

window.onload=f unction(evt){
if(document.get ElementById && document.body) {
setTimeout(
function(){
var doc=document.co mpatMode &&
document.compat Mode.indexOf("C SS")!=-1 &&
document.docume ntElement || document.body;
var div=document.ge tElementById("B TN1");
var left=0;

return function(){
if(left<doc.scr ollLeft || left>doc.scroll Left)
div.style.paddi ngLeft=
(left+=(doc.scr ollLeft-left)>>2)+"px";

setTimeout(argu ments.callee, 42);
}
}(),
42
);
}
}
</script>

<div id="BTN1">
<input type="button" value="Get">
<input type="button" value="Clear">
</div>
Jul 23 '05 #2
Thanks !!!

On 6-Jul-2004, Yann-Erwan Perio <y-*******@em-lyon.com> wrote:
Date: Tue, 06 Jul 2004 00:39:56 +0200
From: Yann-Erwan Perio <y-*******@em-lyon.com>
Reply-To: y-*******@em-lyon.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a1)
Gecko/20040520
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.lang.javas cript
Subject: Re: Smoth right scroll
References: <93************ **************@ posting.google. com>
In-Reply-To: <93************ **************@ posting.google. com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 42
Message-ID: <40************ ***********@new s.free.fr>
Organization: Guest of ProXad - France
NNTP-Posting-Date: 06 Jul 2004 00:40:05 MEST
NNTP-Posting-Host: 82.67.202.102
X-Trace: 1089067205 news2-e.free.fr 18109 82.67.202.102:4 791
X-Complaints-To: ab***@proxad.ne t
Path:
news.012.net.il !seanews2.seabo ne.net!skynet.b e!news.csl-gmbh.net!feed.n ews.tiscali.de! newsfeed.icl.ne t!proxad.net!fe eder2-1.proxad.net!ne ws2-e.free.fr!not-for-mail
Xref: news.012.net.il comp.lang.javas cript:306100

Yaron C. wrote:
I would like to keep the location of the buttons while scrolling to
the right but I can't get a smoth scroll (without flickering of the
buttons).


Using onscroll could be used with advantage, but in your case you're
telling the UA to re-position the element as soon as possible - try to
handle the re-positioning more progressively.
<script type="text/javascript">
for(var ii=0,s="";ii++< 100||document.w rite(s);s+=ii);

window.onload=f unction(evt){
if(document.get ElementById && document.body) {
setTimeout(
function(){
var doc=document.co mpatMode &&
document.compat Mode.indexOf("C SS")!=-1 &&
document.docume ntElement || document.body;
var div=document.ge tElementById("B TN1");
var left=0;

return function(){
if(left<doc.scr ollLeft || left>doc.scroll Left)
div.style.paddi ngLeft=
(left+=(doc.scr ollLeft-left)>>2)+"px";

setTimeout(argu ments.callee, 42);
}
}(),
42
);
}
}
</script>

<div id="BTN1">
<input type="button" value="Get">
<input type="button" value="Clear">
</div>

Jul 23 '05 #3
rh
Yann-Erwan Perio wrote:
Yaron C. wrote:
I would like to keep the location of the buttons while scrolling to
the right but I can't get a smoth scroll (without flickering of the
buttons).
Using onscroll could be used with advantage, but in your case you're
telling the UA to re-position the element as soon as possible - try to
handle the re-positioning more progressively.


The following is a conversion of your exemplary code to use onscroll,
which as you noted would be preferential to the continuous timeout
poll to detect scroll operations. Setting parameters to:

hideDuringScrol l = false;
skidDistance = Infinity;

should provide operation that is close to your original, seemingly
with less jitter when oscillating direction of the scroll.

<script type="text/javascript">
for(var ii=0,s="";ii++< 100||document.w rite(s);s+=ii);

window.onload=f unction(evt){
doc=document.co mpatMode &&
document.compat Mode.indexOf("C SS")!=-1 &&
document.docume ntElement || document.body;
if(document.get ElementById && document.body) {
div=document.ge tElementById("B TN1");

window.onscroll = function(){
var hideDuringScrol l = true;
var skidDistance = 32;
// hideDuringScrol l = false;
// skidDistance = Infinity;
var redRate = reductionRate = 2;

var left = lastScrollLeft = 0;
var delayBase = 42;
var delayFactor = 3;

var onscroll = function() {
if (lastScrollLeft != doc.scrollLeft) {
if (hideDuringScro ll) div.style.visib ility = "hidden";
window.onscroll = null;
redRate = reductionRate;
setTimeout(argu ments.callee, delayFactor*del ayBase);
}
else {
if (hideDuringScro ll) {
div.style.visib ility = "visible";
if ( Math.abs(doc.sc rollLeft-left) > skidDistance)
left = Math.abs(doc.sc rollLeft-skidDistance);
}
if (doc.scrollLeft-left < 1 << redRate) redRate >> 1;
div.style.paddi ngLeft=
(left+=(doc.scr ollLeft-left) >> redRate)+"px";
if (redRate) setTimeout(argu ments.callee, delayBase);
else {
div.style.paddi ngLeft= doc.scrollLeft+ "px";
window.onscroll = onscroll;
redRate = reductionRate;
}
}
lastScrollLeft = doc.scrollLeft;
}
return onscroll;
}();
}
}
</script>

<div id="BTN1">
<input type="button" value="Get">
<input type="button" value="Clear">
</div>


../rh
Jul 23 '05 #4
Yep
rh wrote :

Hi,
The following is a conversion of your exemplary code to use onscroll,
which as you noted would be preferential to the continuous timeout
poll to detect scroll operations.
Using onscroll would indeed be beneficial since this would permit an
accurate resources' management; your script is a good start, but there
are still things which seem strange to me.
should provide operation that is close to your original
Well yes, but maybe because that same original, you seem to have
adopted a mixed conception, not fully taking advantage of the onscroll
perspective; for instance some style properties are unnecessarily
re-set at times.

Using a "scrolling" flag, adding a logical layer upon the positioning
analysis and eventually using another 'recursive closure' for the
after-scroll positioning, should offer a reasonable implementation for
the "full" conception.
doc=document.co mpatMode &&
Defining "doc" and "div" as this make them global variables, which
cannot really be wanted; it's better to include them into the wrapper.
var redRate = reductionRate = 2;
Quite a dangerous construct, since the scope for the two variables
isn't the same, as per the ECMA algorithms; here "reductionR ate" is
global.
(left+=(doc.scr ollLeft-left) >> redRate)+"px";


This was a sad error in the original script, my bad, the left property
isn't always updated when the shift is too big, this means that the
logic flow can be broken.
Cheers,
Yep.
Jul 23 '05 #5
rh
y-*******@em-lyon.com (Yep) wrote:
... Using onscroll would indeed be beneficial since this would permit an
accurate resources' management; your script is a good start, but there
are still things which seem strange to me.
should provide operation that is close to your original


Well yes, but maybe because that same original, you seem to have
adopted a mixed conception, not fully taking advantage of the onscroll
perspective; for instance some style properties are unnecessarily
re-set at times.

Using a "scrolling" flag, adding a logical layer upon the positioning
analysis and eventually using another 'recursive closure' for the
after-scroll positioning, should offer a reasonable implementation for
the "full" conception.


That's one of those questions of cost vs. complexity of the code. I
believe the frequency and the costs of the resets in this case
wouldn't justify the additional complexity of the code, even when the
original form of operation was in effect. But you can tell me if I'm
wrong here.

If it's really a problem, I'd be inclined to simply test (style and/or
computedStyle) prior to setting.

I can also understand the argument for coding for generality and the
desire for structural aesthetics.
doc=document.co mpatMode &&


Defining "doc" and "div" as this make them global variables, which
cannot really be wanted; it's better to include them into the wrapper.


During some experimentation I'd moved those declarations out, and
failed to restore them correctly. The intention was to leave that part
of your code completely unaltered.
var redRate = reductionRate = 2;


Quite a dangerous construct, since the scope for the two variables
isn't the same, as per the ECMA algorithms; here "reductionR ate" is
global.


Thanks for the wake-up. It's a shortcut that should be used when
initializing globals only (if then?!). That line would perhaps better
read:

var reductionRate = 2, redRate = reductionRate;
(left+=(doc.scr ollLeft-left) >> redRate)+"px";


This was a sad error in the original script, my bad, the left property
isn't always updated when the shift is too big, this means that the
logic flow can be broken.


Convergence failures were easier to detect with an "onscroll"
implementation. :)

A couple of further notes:

I probably should have replaced "arguments.call ee" with "onscroll" in
the calls to setTimeout, just to help clarify the code, now that the
function is no longer anonymous.

It seems the line:

div.style.paddi ngLeft= doc.scrollLeft+ "px";

is redundant and should be deleted (possibly one of the "strange"
things you were wondering about).

Regards,

../rh
Jul 23 '05 #6
rh
co********@yaho o.ca (rh) wrote in message news:<29******* *************** ****@posting.go ogle.com>...
y-*******@em-lyon.com (Yep) wrote:
...

Using onscroll would indeed be beneficial since this would permit an
accurate resources' management; your script is a good start, but there
are still things which seem strange to me.


The following has a some fixes that, amongst other things, remove some
of the things that may have seemed strange (OK, were strange ;)). This
should be a little closer to the mark:

window.onload=f unction(evt){
var doc=document.co mpatMode &&
document.compat Mode.indexOf("C SS")!=-1 &&
document.docume ntElement || document.body;
if(document.get ElementById && document.body) {
var div=document.ge tElementById("B TN1");

var onScrollInit = function(){
var hideDuringScrol l = true ;
var skidDistance = 48;
var reductionRate = 2;
var left = doc.scrollLeft, lastScrollLeft = left;
var delayBase = 42;
var delayFactor = 5;
var setVis = true;

var onscroll = function() {
if (lastScrollLeft != doc.scrollLeft) {
window.onscroll = null;
if (hideDuringScro ll) {
div.style.visib ility = "hidden";
setVis = true;
}
setTimeout(onsc roll, delayFactor*del ayBase);
}
else {
if (hideDuringScro ll && setVis) {
div.style.visib ility = "visible";
setVis = false;
if ( Math.abs(doc.sc rollLeft-left) > skidDistance)
left = Math.abs(doc.sc rollLeft-skidDistance);
}
if (Math.abs(doc.s crollLeft-left) < 1 << reductionRate)
reductionRate >>= 1;
div.style.paddi ngLeft=
(left+=(doc.scr ollLeft-left) >> reductionRate)+ "px";
if (reductionRate) setTimeout(onsc roll, delayBase*1);
else window.onscroll = onScrollInit();
}
lastScrollLeft = doc.scrollLeft;
}
return onscroll;
}
window.onscroll = onScrollInit();
}
}

../rh
Jul 23 '05 #7
Yep
rh wrote :

(sorry for the delayed answer, rh)
The following has a some fixes that, amongst other things, remove some
of the things that may have seemed strange (OK, were strange ;)). This
should be a little closer to the mark:
Your script was already very good, it's even better now:-)
[About code complexity]
if (lastScrollLeft != doc.scrollLeft) {


There comes the discussion about code complexity and cost that you
were mentioning before; there's no definite solution of course and
this can be a difficult choice, especially when the original
conception is strong; personally I tend to prefer code complexity over
cost of doing so, especially in environments as unstable as browsers,
but that's my way of coding.

To me, a good program can be defined as fulfilling the customer needs,
efficiently, flexibly and solidly (strong error-catching system).
However, this makes the program good, not more, that's just the basics
you could say. The real thing, to me, is aesthetic, when a program can
expose a beautiful flow to the reader. Striving for aesthetic is one
of the biggest quality for a programmer IMHO (with the ability to take
one's time in imagining the program, and of course common qualities
like analytical and logical skills, good memory and curiosity).

However in the current script there shouldn't be any hesitation,
testing window.onscroll would probably be a good thing:-)

I also think that you could remove the hideDuringScrol l and setVis
parameters and hide automatically; there's no real added value in not
hiding during the scroll if you just move the object when the scroll
has stopped.
[About var a=b="foo"]

As you've said, this should be used only in global context; however in
most conceptions using too many global variables just keeps polluting
the global namespace, so such constructs are very unlikely to appear
in advanced scripts. Now, "a=b='foo'" can be used effectively, if the
variables have been defined on the correct scope beforehand.
BTW, IIRC it's the first time I've seen you using a closure-based
style with your scripts; what are your impressions on this matter?
Regards,
Yep.
Jul 23 '05 #8
rh
y-*******@em-lyon.com (Yep) wrote:
rh wrote :

(sorry for the delayed answer, rh) (as if I'm always timely :)) Your script was already very good, it's even better now:-)

Thanks for the positive feedback!

[About code complexity]
if (lastScrollLeft != doc.scrollLeft) {
There comes the discussion about code complexity and cost that you
were mentioning before; there's no definite solution of course and
this can be a difficult choice, especially when the original
conception is strong; personally I tend to prefer code complexity over
cost of doing so, especially in environments as unstable as browsers,
but that's my way of coding.

To me, a good program can be defined as fulfilling the customer needs,
efficiently, flexibly and solidly (strong error-catching system).
However, this makes the program good, not more, that's just the basics
you could say. The real thing, to me, is aesthetic, when a program can
expose a beautiful flow to the reader. Striving for aesthetic is one
of the biggest quality for a programmer IMHO (with the ability to take
one's time in imagining the program, and of course common qualities
like analytical and logical skills, good memory and curiosity).


Yes, there can be endless debate about this aspect of programming (and
there has been a certain amount recently in this forum). Fully
understanding a problem, and the tools that are available to solve it,
will often lead to the most elegant solution. There are also times,
through this virtue, when the most elegant solution may be the most
difficult for others, perhaps not as well versed, to understand.

Regardless, I think we all aspire to the "best solution" using the
"best practises" that can be acheived within the time that can be
allotted to the process. There's no question that your way is to be
admired.
However in the current script there shouldn't be any hesitation,
testing window.onscroll would probably be a good thing:-)

I also think that you could remove the hideDuringScrol l and setVis
parameters and hide automatically; there's no real added value in not
hiding during the scroll if you just move the object when the scroll
has stopped.

Agreed, the ability to set hideDuringScrol l was included for no
purpose other than to emulate the behaviour of your original.

I tend not to use switches if they can be avoided. However,
eliminating setVis relates to whether you wish to tolerate unecessary
settings of the style visibility, since the value of window.onscroll
is insufficient to make the determination (i.e., it's desirable to set
the visibility once when beginning to show the motion, even though the
onscroll setting remains null throughout the animation).

(I found that setting the visibility is highly efficient in some
prominent browsers and highly inefficient in others. What else would
we expect?)

See below (if you're not getting too bored by now :)) for a final
version that minimizes setting of visibility, and allows both
horizontal and vertical scroll placement of a div with absolute (0,0)
positioning.

[About var a=b="foo"]

As you've said, this should be used only in global context; however in
most conceptions using too many global variables just keeps polluting
the global namespace, so such constructs are very unlikely to appear
in advanced scripts. Now, "a=b='foo'" can be used effectively, if the
variables have been defined on the correct scope beforehand.

That relates to some extent to my "(if ever?!)" comment, regarding
use. I too am a general anti-globalist (and often cringe a bit when I
see suggestions like "what you have to is set a global variable." in
clj), and share your concern regarding overuse of this namespace.

BTW, IIRC it's the first time I've seen you using a closure-based
style with your scripts; what are your impressions on this matter?


If one is writing relatively small snippets of code, it doesn't all
that often lend itself to introducing closures. However, the use
setTimeout almost always seems to be a natural lead-in to creation of
a closure.

I'm highly impressed with closures, and try to make use of them
whenever it seems appropriate to do so.

Regards,
../rh

window.onload=f unction(evt){
var doc=document.co mpatMode &&
document.compat Mode.indexOf("C SS")!=-1 &&
document.docume ntElement || document.body;
if(document.get ElementById && document.body) {
var div=document.ge tElementById("B TN1");

var onScrollInit = function(){
var skidDistance = 75;
var leftReductionRa te = 2, topReductionRat e = leftReductionRa te;
var left = doc.scrollLeft, lastScrollLeft = left;
var top = doc.scrollTop, lastScrollTop = top;
var delayBase = 42;
var delayFactor = 3;
var setVis = false;

var setPos = function(axis, pos, red) {
var scrollPos = doc["scroll"+axis.s ubstr(0,1).toUp perCase()
+axis.substr(1)];
if ( Math.abs(scroll Pos - pos) > skidDistance)
pos = Math.abs(scroll Pos-skidDistance);
if ( Math.abs(scroll Pos - pos) < 1 << red) red >>= 1;
div.style[axis] = ( pos +=(scrollPos - pos) >> red)+"px";
if (axis == "top") { top = pos; topReductionRat e = red; }
else { left = pos; leftReductionRa te = red; }
}

var onscroll = function() {
if (lastScrollLeft != doc.scrollLeft
|| lastScrollTop != doc.scrollTop) {
if (! setVis && (setVis = true))
div.style.visib ility = "hidden";
if (window.onscrol l) window.onscroll = null;
setTimeout(onsc roll, delayFactor*del ayBase);
}
else {
if (setVis && ! (setVis = false))
div.style.visib ility = "visible";
setPos("top", top, topReductionRat e); // conditional call?
setPos("left", left, leftReductionRa te); // " "
if (leftReductionR ate
|| topReductionRat e) setTimeout(onsc roll, delayBase);
else window.onscroll = onScrollInit();
}
lastScrollLeft = doc.scrollLeft;
lastScrollTop = doc.scrollTop;
}
return onscroll;
}
window.onscroll = onScrollInit();
}
}
Jul 23 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
3835
by: anna | last post by:
Is it possible to have a javascript function which can scroll a page to the far right when a link is clicked? Any code examples available? TIA, Anna
1
6836
by: VINAY | last post by:
Dear All, The subject line could be bit confusing. So let me explain in details, please have patience. I have developed an ActiveX Control(Combo Box Control) in VB6 for a touch screen application since the user had problems working with the small Combo Box Button and Scroll Box Scroll Button that appears in the Combo Box Control Shipped with VB. While going through questions in this group i learnt that one can change the size of the...
1
2238
by: pmclinn | last post by:
What is the best way to scroll text across a textbox. I want my dynamic text to enter from the right and scroll to the left. Any sample code would be appreciated.
9
812
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I disable the right mouse button? ----------------------------------------------------------------------- The oncontextmenu intrinsic event is the only safe and reliable method. Of the other approaches often presented, most depend on an alert box interrupting the process and rarely work. Note that oncontextmenu is a non-standard event and is not...
1
2754
by: monica4rdecos | last post by:
Hi, I am developing a website. Its width is fixed and is 1000px. I want to avoid horizontal scroll bar in a standard 1024 X 768 browser. So i fixed it as 1024px width. But in firefox a blank space is displayed on the right side of the site and as a result a horizontal scroll bar is coming. I have given width of the body as 1000px and i am using a table inside body whose width is 100% and i made sure that contents inside table would not...
4
32616
dlite922
by: dlite922 | last post by:
This is just barely above my head when it comes to css. I have a div that needs to contain rows of floating divs, but I need each row not to wrap on to the next one and continue to go right. The user will use a overflow: auto scroll to scroll to see the rest of the divs. illustration: # = === = = === === # = == = = # == ================== # =========
12
7889
Frinavale
by: Frinavale | last post by:
I think I'm trying to do something impossible. I have a <div> element with a overflow style set to "scroll". In other words my <div> element allows the user to scroll the content within it. There are a number of elements within this <div> that cause the <div> to participate in an Ajax call to the server. In order to maintain the scroll position of the <div> during the Ajax request I store the scroll value in a hidden field so that when...
3
2602
by: PrabodhanP | last post by:
I have CSS based mouseover scrolling for divContent embeded in my webpage.It works fine in IE,but not working in mozilla-FF. It is located at the location.. http://www.integrityads.net/fashions/collection.htm Also it is not resolution compatible,i.e. alignment totally messed up when i increased the resolution.Please suggest. Code is as follows:- <HTML><HEAD> <meta http-equiv="Content-Language" content="en-us"> <TITLE>Collections</TITLE>...
1
4363
by: newbie009 | last post by:
How can I disable horizontal scroll in textbox for FireFox? Right now 1 textbox has vertical scroll and other textbox has horizontal scroll. It only looks like this on FireFox but it looks ugly. http://jumbofiles.com/example.gif I used this code but it only worked for IE not FireFox: style="overflow: scroll; overflow-y: scroll; overflow-x: hidden; overflow:-moz-scrollbars-vertical;" Basically I want only vertical scroll.
0
9689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10269
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2942
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.