473,703 Members | 3,336 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Can anyone help me please!

The idea is to show only one of the <Baby_Div> while hiding all the others.
At the moment all I have managed to do is to show each <Baby_Div> in turn as
expected, but the problem is that once a <Baby_Div>.inne rHTML is replaced by one of the
procedures, it does not work anymore, ie, the <Baby_Div> content is not
displayed anymore, once code replaces the actual 'Blah' string.

Structure:
<Top-Div>
<Child_Div (6 in total)>
<Baby_Span>
<Baby_Span>
<Baby_Div>
<Child_Div... >

Any Idea?

Thanks in advance

<Top-Div id='idOutput'> contains 6 Child_Divs in each containing one<Baby_Div>:
The spans are fine, its the Baby_Divs I want to show/hide.

<DIV id='idOutput'>
<DIV id="idDivConfig " onclick="Hide_D ivs('idOutput', 'idDivConfigChi ld','Child')">
<span id="IMGidDivCon fig" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah </DIV> </DIV>
<DIV id="idDivPing" onclick="Hide_D ivs('idOutput', 'idDivPingChild ','Child')">
<span id="IMGidDivPin g" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah </DIV> </DIV>
<DIV ...(4 more)

function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = getElementWithI d(theDiv);
for (var x = 0; elDiv.childNode s[x]; x++) {
if (elDiv.childNod es[x].id.length > 0) {
var elChildElement = elDiv.getElemen tsByTagName("di v");
var i = elChildElement. length;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
var el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){
el.style.displa y = 'none';
} else {
el.style.displa y = '';
}
}
}
}
}
}

Joseph

philippeoget at hotmail dot com
http://www.geocities.com/philippeoget/a2z/
Jul 23 '05 #1
4 1472
Joseph wrote:

Do not cross post to so many groups, this is a JavaScript issue so
probably comp.lang.javas cript is the only place is should be posted, at
least in the first instance (even though you've been working on this a
little while... :-) ).

When posting code, please use 2 or 4 spaces for indenting, it makes the
code much more suitable for newsreaders. And manually wrap code at
about 65 characters to stop automatic wrapping, then others can simply
copy and paste your code to work on it without having to fix a heap of
errors caused by automatic wrapping.
The idea is to show only one of the <Baby_Div> while hiding all the others.
At the moment all I have managed to do is to show each <Baby_Div> in turn as
expected, but the problem is that once a <Baby_Div>.inne rHTML is replaced by one of the
procedures, it does not work anymore, ie, the <Baby_Div> content is not
displayed anymore, once code replaces the actual 'Blah' string.
I didn't see any attempt to replace the innerHTML, do you mean
Baby_Div or Baby_Span? Try the fix below and see if it's still an
issue.

Structure:
<Top-Div>
<Child_Div (6 in total)>
<Baby_Span>
<Baby_Span>
<Baby_Div>
<Child_Div... >

Any Idea?

Thanks in advance

<Top-Div id='idOutput'> contains 6 Child_Divs in each containing one<Baby_Div>:
The spans are fine, its the Baby_Divs I want to show/hide.

<DIV id='idOutput'>
<DIV id="idDivConfig " onclick="Hide_D ivs('idOutput', 'idDivConfigChi ld','Child')">
<span id="IMGidDivCon fig" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah </DIV> </DIV>
<DIV id="idDivPing" onclick="Hide_D ivs('idOutput', 'idDivPingChild ','Child')">
<span id="IMGidDivPin g" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah </DIV> </DIV>
<DIV ...(4 more)

function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = getElementWithI d(theDiv);
If you want a method called "getElementWith Id" you'd better create it,
or maybe use getElementById like everyone else :-p

getElementById is a method of the document, so you have to call it like
this:

var elDiv = document.getEle mentById(theDiv );
for (var x = 0; elDiv.childNode s[x]; x++) {
if (elDiv.childNod es[x].id.length > 0) {
If elDiv.childNode s[x].id does not exist, then the script will die
right here when you try to get the length of something that doesn't
exist - and there are a number of elements that the browser creates
inside your div that don't have ids.

If you want to test if the element has an id, then:

if (elDiv.childNod es[x].id) {

will do the trick.

You are doing the right thing: testing for properties and attributes
before you try to use them is nearly always a good idea.
var elChildElement = elDiv.getElemen tsByTagName("di v");
This doesn't make sense. You get the childNodes of elDiv, then use
getElementsByTa gName to get the one div inside the many children. Why
not just get the divs inside elDiv in the first place, greatly reducing
the number of elements to loop through?

Just do your line above and ditch the outer loop.
var i = elChildElement. length;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
var el = elChildElement[i];
Better to declare var el outside the while, then you don't waste
processor time re-initialising it on each loop.

var el;
while (i--) {
el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){

[...]

The full corrected script is below (I've added a border to the divs so
I could see them and only included 2 divs for brevity).
<style type="text/css">
div {border: 1px solid green;}
</style>

<DIV id='idOutput'>
<DIV id="idDivConfig " onclick="
Hide_Divs('idOu tput','idDivCon figChild','Chil d');
">
<span id="IMGidDivCon fig" style="display: inline;"
class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah idDivConfigChil d</DIV>
</DIV>
<DIV id="idDivPing" onclick="
Hide_Divs('idOu tput','idDivPin gChild','Child' );
">
<span id="IMGidDivPin g" style="display: inline;"
class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah idDivPingChild</DIV>
</DIV>
</DIV>
<script type="text/javascript">
function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = document.getEle mentById(theDiv );
var elChildElement = elDiv.getElemen tsByTagName('di v');
var i = elChildElement. length;
var el;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){
el.style.displa y = 'none';
} else {
el.style.displa y = '';
}
}
}
}
</script>

--
Rob
Jul 23 '05 #2
Hi Rob,

Thank you fr your help.
I must be really dumb cause I can't make it to work:
f
<script type="text/javascript">
function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = getElementWithI d(theDiv);
var elChildElement = elDiv.getElemen tsByTagName('di v');
var i = elChildElement. length;
var el;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){
el.style.displa y = 'none';
} else {
el.style.displa y = '';
}
}
}
}

function getElementWithI d(id){
var obj = null;
if(document.get ElementById){
/* Prefer the widely supported W3C DOM method, if
available:-
*/
obj = document.getEle mentById(id);
}else if (document.all){
/* Branch to use document.all on document.all only
browsers. Requires that IDs are unique to the page
and do not coincide with NAME attributes on other
elements:-
*/
obj = document.all[id];
}
/* If no appropriate element retrieval mechanism exists on
this browser this function always returns null:-
*/
return obj;
}
</script>
<DIV id='idOutput'>

<DIV id="idDivConfig " onclick="Hide_D ivs('idOutput', 'idDivConfigChi ld','Child');">
<span id="IMGidDivCon fig" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah iddivconfigchil d</div>
</DIV>

<DIV id="idDivPing" onclick="Hide_D ivs('idOutput', 'idDivPingChild ','Child');">
<span id="IMGidDivPin g" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah iddivpingchild</div>
</DIV>
</DIV>

Thanks mate

Joseph

philippeoget at hotmail dot com
http://www.geocities.com/philippeoget/a2z/
"RobG" <rg***@iinet.ne t.auau> wrote in message news:42******** *************** @per-qv1-newsreader-01.iinet.net.au ...
Joseph wrote:

Do not cross post to so many groups, this is a JavaScript issue so
probably comp.lang.javas cript is the only place is should be posted, at
least in the first instance (even though you've been working on this a
little while... :-) ).

When posting code, please use 2 or 4 spaces for indenting, it makes the
code much more suitable for newsreaders. And manually wrap code at
about 65 characters to stop automatic wrapping, then others can simply
copy and paste your code to work on it without having to fix a heap of
errors caused by automatic wrapping.
The idea is to show only one of the <Baby_Div> while hiding all the others.
At the moment all I have managed to do is to show each <Baby_Div> in turn as
expected, but the problem is that once a <Baby_Div>.inne rHTML is replaced by one of the
procedures, it does not work anymore, ie, the <Baby_Div> content is not
displayed anymore, once code replaces the actual 'Blah' string.


I didn't see any attempt to replace the innerHTML, do you mean
Baby_Div or Baby_Span? Try the fix below and see if it's still an
issue.

Structure:
<Top-Div>
<Child_Div (6 in total)>
<Baby_Span>
<Baby_Span>
<Baby_Div>
<Child_Div... >

Any Idea?

Thanks in advance

<Top-Div id='idOutput'> contains 6 Child_Divs in each containing one<Baby_Div>:
The spans are fine, its the Baby_Divs I want to show/hide.

<DIV id='idOutput'>
<DIV id="idDivConfig " onclick="Hide_D ivs('idOutput', 'idDivConfigChi ld','Child')">
<span id="IMGidDivCon fig" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah </DIV> </DIV>
<DIV id="idDivPing" onclick="Hide_D ivs('idOutput', 'idDivPingChild ','Child')">
<span id="IMGidDivPin g" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah </DIV> </DIV>
<DIV ...(4 more)

function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = getElementWithI d(theDiv);


If you want a method called "getElementWith Id" you'd better create it,
or maybe use getElementById like everyone else :-p

getElementById is a method of the document, so you have to call it like
this:

var elDiv = document.getEle mentById(theDiv );
for (var x = 0; elDiv.childNode s[x]; x++) {
if (elDiv.childNod es[x].id.length > 0) {


If elDiv.childNode s[x].id does not exist, then the script will die
right here when you try to get the length of something that doesn't
exist - and there are a number of elements that the browser creates
inside your div that don't have ids.

If you want to test if the element has an id, then:

if (elDiv.childNod es[x].id) {

will do the trick.

You are doing the right thing: testing for properties and attributes
before you try to use them is nearly always a good idea.
var elChildElement = elDiv.getElemen tsByTagName("di v");


This doesn't make sense. You get the childNodes of elDiv, then use
getElementsByTa gName to get the one div inside the many children. Why
not just get the divs inside elDiv in the first place, greatly reducing
the number of elements to loop through?

Just do your line above and ditch the outer loop.
var i = elChildElement. length;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
var el = elChildElement[i];


Better to declare var el outside the while, then you don't waste
processor time re-initialising it on each loop.

var el;
while (i--) {
el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){

[...]

The full corrected script is below (I've added a border to the divs so
I could see them and only included 2 divs for brevity).
<style type="text/css">
div {border: 1px solid green;}
</style>

<DIV id='idOutput'>
<DIV id="idDivConfig " onclick="
Hide_Divs('idOu tput','idDivCon figChild','Chil d');
">
<span id="IMGidDivCon fig" style="display: inline;"
class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah idDivConfigChil d</DIV>
</DIV>
<DIV id="idDivPing" onclick="
Hide_Divs('idOu tput','idDivPin gChild','Child' );
">
<span id="IMGidDivPin g" style="display: inline;"
class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah idDivPingChild</DIV>
</DIV>
</DIV>
<script type="text/javascript">
function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = document.getEle mentById(theDiv );
var elChildElement = elDiv.getElemen tsByTagName('di v');
var i = elChildElement. length;
var el;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){
el.style.displa y = 'none';
} else {
el.style.displa y = '';
}
}
}
}
</script>

--
Rob

Jul 23 '05 #3
Rob,

This is the closest I got to what I want, bearing in mind that I didn;t manage to get your code to work as per my other email.

http://www.geocities.com/philippeoge..._IP_Tools.html

--
thanks a lot Rob

Joseph

philippeoget at hotmail dot com
http://www.geocities.com/philippeoget/a2z/
"RobG" <rg***@iinet.ne t.auau> wrote in message news:42******** *************** @per-qv1-newsreader-01.iinet.net.au ...
Joseph wrote:

Do not cross post to so many groups, this is a JavaScript issue so
probably comp.lang.javas cript is the only place is should be posted, at
least in the first instance (even though you've been working on this a
little while... :-) ).

When posting code, please use 2 or 4 spaces for indenting, it makes the
code much more suitable for newsreaders. And manually wrap code at
about 65 characters to stop automatic wrapping, then others can simply
copy and paste your code to work on it without having to fix a heap of
errors caused by automatic wrapping.
The idea is to show only one of the <Baby_Div> while hiding all the others.
At the moment all I have managed to do is to show each <Baby_Div> in turn as
expected, but the problem is that once a <Baby_Div>.inne rHTML is replaced by one of the
procedures, it does not work anymore, ie, the <Baby_Div> content is not
displayed anymore, once code replaces the actual 'Blah' string.


I didn't see any attempt to replace the innerHTML, do you mean
Baby_Div or Baby_Span? Try the fix below and see if it's still an
issue.

Structure:
<Top-Div>
<Child_Div (6 in total)>
<Baby_Span>
<Baby_Span>
<Baby_Div>
<Child_Div... >

Any Idea?

Thanks in advance

<Top-Div id='idOutput'> contains 6 Child_Divs in each containing one<Baby_Div>:
The spans are fine, its the Baby_Divs I want to show/hide.

<DIV id='idOutput'>
<DIV id="idDivConfig " onclick="Hide_D ivs('idOutput', 'idDivConfigChi ld','Child')">
<span id="IMGidDivCon fig" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah </DIV> </DIV>
<DIV id="idDivPing" onclick="Hide_D ivs('idOutput', 'idDivPingChild ','Child')">
<span id="IMGidDivPin g" style="display: inline;" class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah </DIV> </DIV>
<DIV ...(4 more)

function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = getElementWithI d(theDiv);


If you want a method called "getElementWith Id" you'd better create it,
or maybe use getElementById like everyone else :-p

getElementById is a method of the document, so you have to call it like
this:

var elDiv = document.getEle mentById(theDiv );
for (var x = 0; elDiv.childNode s[x]; x++) {
if (elDiv.childNod es[x].id.length > 0) {


If elDiv.childNode s[x].id does not exist, then the script will die
right here when you try to get the length of something that doesn't
exist - and there are a number of elements that the browser creates
inside your div that don't have ids.

If you want to test if the element has an id, then:

if (elDiv.childNod es[x].id) {

will do the trick.

You are doing the right thing: testing for properties and attributes
before you try to use them is nearly always a good idea.
var elChildElement = elDiv.getElemen tsByTagName("di v");


This doesn't make sense. You get the childNodes of elDiv, then use
getElementsByTa gName to get the one div inside the many children. Why
not just get the divs inside elDiv in the first place, greatly reducing
the number of elements to loop through?

Just do your line above and ditch the outer loop.
var i = elChildElement. length;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
var el = elChildElement[i];


Better to declare var el outside the while, then you don't waste
processor time re-initialising it on each loop.

var el;
while (i--) {
el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){

[...]

The full corrected script is below (I've added a border to the divs so
I could see them and only included 2 divs for brevity).
<style type="text/css">
div {border: 1px solid green;}
</style>

<DIV id='idOutput'>
<DIV id="idDivConfig " onclick="
Hide_Divs('idOu tput','idDivCon figChild','Chil d');
">
<span id="IMGidDivCon fig" style="display: inline;"
class="PlusMinu s">+ </span>
<span style="display: inline;" id=1> IP Config Results: </span>
<div class="Child" id="idDivConfig Child">blah idDivConfigChil d</DIV>
</DIV>
<DIV id="idDivPing" onclick="
Hide_Divs('idOu tput','idDivPin gChild','Child' );
">
<span id="IMGidDivPin g" style="display: inline;"
class="PlusMinu s">+ </span>
<span style="display: inline;" id=2> Ping Results: </span>
<div class="Child" id="idDivPingCh ild">blah idDivPingChild</DIV>
</DIV>
</DIV>
<script type="text/javascript">
function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv = document.getEle mentById(theDiv );
var elChildElement = elDiv.getElemen tsByTagName('di v');
var i = elChildElement. length;
var el;
var cReg = new RegExp('\\b' + TheClass + '\\b');
while (i--) {
el = elChildElement[i];
if ( el.className && cReg.test(el.cl assName)) {
if (el.id && el.id != TheDivToShow ){
el.style.displa y = 'none';
} else {
el.style.displa y = '';
}
}
}
}
</script>

--
Rob

Jul 23 '05 #4
Joseph wrote:
Hi Rob,

Thank you fr your help.
I must be really dumb cause I can't make it to work:
f

Please don't top-post, trim replies and remember to indent only
2 or 4 characters per indent.
I can't see your problem, your posted code works fine with no
obvious errors in IE and Firefox for me.

Are there any symptoms/results that make you think it isn't
working? I can't fix what ain't broke :-)

I've given a hint to making your 'getElementWith Id()' function a
little trimmer (I was actually joking on that one, but good to
see support for some older browsers).

function getElementWithI d(id){
var obj = null;
You don't need this variable, see below
if(document.get ElementById){
/* Prefer the widely supported W3C DOM method, if
available:-
*/
obj = document.getEle mentById(id);
Why store the value then only to return it? Just return right
here:

return document.getEle mentById(id);
}else if (document.all){
/* Branch to use document.all on document.all only
browsers. Requires that IDs are unique to the page
and do not coincide with NAME attributes on other
elements:-
*/
obj = document.all[id];
Same here:

return document.all[id];
}
/* If no appropriate element retrieval mechanism exists on
this browser this function always returns null:-
*/
return obj;


and if we get to here, neither getElementById or document.all
are supported so return false:

return false;

You could even get rid of the else statement and just have two
ifs, but I'm not sure that's of any real benefit. And returning
null or false probably makes no real difference, but false is
more explicit to me that the function failed to get the element.

Now when you get elDiv in Hide_Divs, the first thing you do is
make sure you can find elDiv. If not, don't do anything:

function Hide_Divs(theDi v,TheDivToShow, TheClass) {
var elDiv;
if ( (elDiv = getElementWithI d(theDiv))){

// the rest of your function

}
}

function getElementWithI d(id){
if(document.get ElementById){
return document.getEle mentById(id);
} else if (document.all){
return document.all[id];
}
return null;
}

or the compressed (but somewhat cryptic) version:

function getElementWithI d(id){
return (document.getEl ementById)? document.getEle mentById(id):
(document.all)? document.all[id] : false;
}

--
Rob
Jul 23 '05 #5

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

Similar topics

2
2019
by: Programatix | last post by:
Hi, I'm working on a project which includes WebServices and Windows Form application. The Windows Form application will call the WebServices to retrieve data from database. The data will be returned as DataSet. Now, here's the problem. On .NET Framework 1.1, if any rows in the dataset returned contain errors (marked by calling the SetColumnError() method or
1
2056
by: Harag | last post by:
Hi all Classic ASP, Textpad Local "test" WebServer. IIS5 Well my MS script debugger isn't running and I can't findout why. I'm sick of it failing on me so was looking for an alternative. I spotted one called Team Remote ASP Debugger
2
3596
by: pratchaya | last post by:
This is my sample error in my MySQL Log New value of fp=(nil) failed sanity check, terminating stack trace! Please read http://www.mysql.com/doc/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved stack trace is much more helpful in diagnosing the problem, so please do resolve it Trying to get some variables. Some pointers may be invalid and cause the dump to abort...
2
378
by: spamharvestor | last post by:
I want to learn C. As I was searching for helpful links, I came across this message with many C and C++ links - http://tinyurl.com/8ep3f However, most of the links shown, such as www.cera.com/clang.htm www.cera.com/cplus.htm http://bach.cis.temple.edu/accu/C-links/
2
3906
by: Brent Taylor via AccessMonster.com | last post by:
HELP----DOES ANYONE HAVE A SIMPLE .mdb for MLM structure? Does anyone have an example database for multi-level marketing for a 3 Tier setup? Thank you, brenttaylor@actionimports.net
4
2507
by: Hai Nguyen | last post by:
I'm learning C sharp and do not like vb much. I'm creatiing a wepage using panel to test myself. I tried to use these code below, which is written in VB, and to transform them to c sharp but I got hard time to understand vb syntax. I don't know if anyone in here can point out which is the equivalent object used in c sharp. Translate these two lines to C sharp: Sub Next_Click(Sender As Object, e As EventArgs) Select Case...
8
3160
by: CM | last post by:
Hi, Could anyone please help me? I am completing my Master's Degree and need to reproduce a Webpage in Word. Aspects of the page are lost and some of the text goes. I would really appreciate it. The link to the document is http://www.surveymonkey.com/s.asp?u=689952259313 I have spent 15 hours trying to sort this but to no avail.
0
822
by: Blubaugh, David A. | last post by:
To All, Has anyone worked with the F2PY generator? This is something that is supposedly built within numpy and scipy for the Python environment. I was wondering if anyone has encountered any issues with this environment?? This is important to find the answers to these questions.
1
2041
by: Blubaugh, David A. | last post by:
Pauli, Yes, I am utilizing the windows environment. I cannot install f2py. I obtain the following error when I try to execute the setup.py file within the f2py folder located within the numpy master folder: Warning: Assuming default configuration
0
8749
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
9109
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
9002
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
8956
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
7853
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5922
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
4677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2434
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.