Studio Zero
« Jump to Code »

Welcome Guest. Please Login or Register.
Sept 10, 2010, 6:32pm





Studio Zero :: Web Development :: Code Storage :: Jump to Code
« Page 2 of 2 Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: Jump to Code (Read 987 times)
SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #15 on Aug 23, 2009, 5:44pm »

Thanks Nate! :)

Just FYI to you and everyone else, I made an edit to the original code today. Details are at the bottom of the original post in "EDIT 2" section.

Regards,
SubDevo
« Last Edit: Aug 23, 2009, 5:57pm by SubDevo »Link to Post - Back to Top  IP: Logged

SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #16 on Sept 9, 2009, 4:16pm »

Code Update!

I made a very small (two words) code change to ensure no partial code title matches when "jumping" to a code.

Regards,
SubDevo
Link to Post - Back to Top  IP: Logged

Quinine
Senior Studio Member
*****
This was a triumph.
member is offline

[avatar]

for great justice.


[homepage]

Joined: May 2007
Gender: Male
Posts: 1,541
Location: back.
Karma: 7
 Re: Jump to Code
« Reply #17 on Oct 30, 2009, 9:59pm »

I know this is kinda bumpy :[ but how are you doing getting it to work in those two browsers?
Link to Post - Back to Top  IP: Logged

[image] [image]
[image]
SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #18 on Jan 29, 2010, 8:25am »


Oct 30, 2009, 9:59pm, Quinine wrote:
I know this is kinda bumpy :[ but how are you doing getting it to work in those two browsers?


Well Quilford, honestly I haven't even been trying. You are the first to really ask about the other browser compats so I have just let it go for awhile since most admins use IE or FF. Chris thought he could help but he is WAY to busy, and it isn't high on my priority list. (I've ran out of ideas lol) If ANYONE has any ideas on how to code for opera/safari support please feel free to chime in. I would give you full credit in the code of course.

Regards,
SubDevo
Link to Post - Back to Top  IP: Logged

Bruce Banner
Head Coder
******
Click Click Boom
member is offline

[avatar]



Joined: Nov 2006
Gender: Male
Posts: 17,360
Location: Nebraska
Karma: 312
 Re: Jump to Code
« Reply #19 on Feb 6, 2010, 10:31pm »

Yeah, I still haven't had time to look into it unfortunately. =/ Have you checked the source for the add() function on PB on posting pages? It might be of some use (though I doubt it at this point.)
Link to Post - Back to Top  IP: Logged

[image]
[image]

Coming soon(er or later) to SZ:
- [user] and [pmuser] UBBC tags
- Houdini
- CIv4
- Project Apocalypse
- Minimizer
tunescool
Dedicated Member
***
[p:25]
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Gender: Male
Posts: 189
Location: milw, wi
Karma: -9
 Re: Jump to Code
« Reply #20 on Mar 21, 2010, 9:30am »

subdevo, most of the time it works it main headers and footers, but it hardly ever works in global. im using ff, do you have any input on why it wont work for me. its such an important code its like it should be there all the time

http://celebnook.proboards.com/index.cgi?
Link to Post - Back to Top  IP: Logged

SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #21 on Mar 21, 2010, 1:02pm »


Oct 30, 2009, 9:59pm, Quinine wrote:
I know this is kinda bumpy :[ but how are you doing getting it to work in those two browsers?


OMG! I finally did it! I updated the code to work with Safari and Chrome! With a "workaround" for Opera users...
Come and get it! ;D

SubDevo


Quote:
subdevo, most of the time it works it main headers and footers, but it hardly ever works in global. im using ff, do you have any input on why it wont work for me. its such an important code its like it should be there all the time


You have a LOT of scripts in your global code that doesn't have any titles.
Here is just one example:
<script>
document.getElementsByTagName("FONT")[1].style.display="none";
document.getElementsByTagName("TD")[2].style.display="none";
</script>


Grab a fresh copy (since I just updated it) and while you are there, read the "For Best Results" section of the post. Then go through your code.
THIS code "makes" you organize your codes a little better...

Regards,
SubDevo
Link to Post - Back to Top  IP: Logged

tunescool
Dedicated Member
***
[p:25]
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Gender: Male
Posts: 189
Location: milw, wi
Karma: -9
 Re: Jump to Code
« Reply #22 on Mar 21, 2010, 2:20pm »

alrite i read that when i put it in at first but wasnt sure if i could be putting title remarks in everyones codes and i was worried if i would cause codes to not work.
ill do it over the next couple days but codes missing remarks could make the code not work?
Link to Post - Back to Top  IP: Logged

SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #23 on Mar 21, 2010, 2:48pm »


Mar 21, 2010, 2:20pm, tunescool wrote:
alrite i read that when i put it in at first but wasnt sure if i could be putting title remarks in everyones codes and i was worried if i would cause codes to not work.
ill do it over the next couple days but codes missing remarks could make the code not work?


No, remarks will not affect the codes at all. They are ignored by the browser. Unless you don't put them in right. Two ways of doing remarks.
"//" tells the browser to ignore anything following it ON THE SAME LINE.
"/*" tells the browser to ignore anything following it up to a second closing remark "*/" This can be used on the same line or multiple lines. Just make sure you have the second "*/" after the text you want it to ignore.

// CODE TITLE
/* CODE TITLE */

Link to Post - Back to Top  IP: Logged

tunescool
Dedicated Member
***
[p:25]
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Gender: Male
Posts: 189
Location: milw, wi
Karma: -9
 Re: Jump to Code
« Reply #24 on Jun 11, 2010, 7:47am »

subdevo, i have like 20 codes in a test site, can you PLEASE!!! look at them and see why your code doesnt work already. its one of the most important codes i have

http://tunescool2.proboards.com/index.cgi



it always ends up looking like this too
either the headers are bigger than the footers or the footers are bigger than the headers

[image]
« Last Edit: Jun 11, 2010, 9:41am by tunescool »Link to Post - Back to Top  IP: Logged

SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #25 on Jun 11, 2010, 10:23am »

Your screenshot has a perfect example of why it isn't working.
In the footer section of the pic, the first script doesn't have a Title for the code (remark line).
See my original post for instructions and also my post before yours (explains about remarks).

SubDevo
Link to Post - Back to Top  IP: Logged

tunescool
Dedicated Member
***
[p:25]
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Gender: Male
Posts: 189
Location: milw, wi
Karma: -9
 Re: Jump to Code
« Reply #26 on Jun 11, 2010, 10:33am »

you never specifically said that if the codes didnt have them that could cause it not to work in my globals. i understood the codes wouldnt show up without remarks.

ill try and keep up as i put them in, thanks for looking at itsubdevo
Link to Post - Back to Top  IP: Logged

SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #27 on Jun 11, 2010, 3:24pm »


Jun 11, 2010, 10:33am, tunescool wrote:
you never specifically said that if the codes didnt have them that could cause it not to work in my globals. i understood the codes wouldnt show up without remarks.


From the original post instructions...

Quote:
If you have code that doesn't have any "remark" lines, it will either:
  • Put a blank line in the Code Jump.
    In this case, Unsort the jump and click the code directly above the blank entry. The "offending" title will be the next code down from that one.
  • Or you may get an error on the page.
    (you will know that is the case if you don't see the buttons or jumps!)
    In most cases, this is caused by the first remark after a script tag, being a variable instead of a code title.





Link to Post - Back to Top  IP: Logged

tunescool
Dedicated Member
***
[p:25]
member is offline

[avatar]


[homepage]

Joined: Aug 2006
Gender: Male
Posts: 189
Location: milw, wi
Karma: -9
 Re: Jump to Code
« Reply #28 on Jun 11, 2010, 9:15pm »

you updated that later or something :P after i already read it
Link to Post - Back to Top  IP: Logged

SubDevo
Official Member
**
member is offline

[avatar]

Creator of LSD...



Joined: Aug 2009
Gender: Male
Posts: 108
Location: Mich, USA
Karma: 2
 Re: Jump to Code
« Reply #29 on Jun 13, 2010, 4:05am »


Jun 11, 2010, 9:15pm, tunescool wrote:
you updated that later or something :P after i already read it

I have updated the code since then, but actually that quote has been in the original post since day 1.
Even if it wasn't, I asked you to reread the post for the instructions. They are very clear, IF you read it all.

SubDevo
Link to Post - Back to Top  IP: Logged

« Page 2 of 2 Jump to page   Go    [Search This Thread][Send Topic To Friend] [Print]


Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Report Abuse | Mobile