You can change the ID easily enough BUT any built in scripts used by Sugar will of course fail subsequently.
Using the code from above to change the ID it would need;
Code:
elink.id = "newid"
elnk = getElementById("newid")
adding to it.
However; I ould suggest that changing the tab id in Sugar will probably only be a matter of changing a variable in a config file or a database entry, as no self respecting developer should be "hard coding" such items into a script.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
Last edited by chrishirst; 07-23-2009 at 12:47 PM..
|