Some questions
5 posters
Page 1 of 1
Some questions
javascript
1. how to ad title tag for some links which contains specifics word
2.
this script is visible only for logged users, why
FORUM LINK
username: testing
password: testtest
tnx
1. how to ad title tag for some links which contains specifics word
2.
- Code:
<script>
jQuery(document).ready(function() {
msg = 'SOME HTML';
jQuery('#picture_legend').html(jQuery('#picture_legend').html() + msg);
});
</script>
this script is visible only for logged users, why
FORUM LINK
username: testing
password: testtest
tnx
Re: Some questions
A title attribute can be added on most HTML elements.
If your reffering to adding a title attribute on something which you can not edit, then it can be added with javascript: 'elem.title="title text";'
I'll elaborate when I know more what you mean.
The script could be only for members depending on where you put it.
Put it in a Javascript like this:
[/code]
If your reffering to adding a title attribute on something which you can not edit, then it can be added with javascript: 'elem.title="title text";'
I'll elaborate when I know more what you mean.
The script could be only for members depending on where you put it.
Put it in a Javascript like this:
- Code:
jQuery(function() {
document.getElementById('picture_legend').innerHTML+="YOUR TEXT HERE";
});
[/code]
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Some questions
1.
i would like to ad title attribut or similar tooltip for signed link (it's aditional profile field)
2.
i would like to ad title attribut or similar tooltip for signed link (it's aditional profile field)
2.
- Code:
jQuery(function() {
document.getElementById('picture_legend').innerHTML+="YOUR TEXT HERE";
});
Re: Some questions
Are you sure your not putting the script in a forum description which is only for members?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Some questions
Wait what do you mean forum description?
Do you mean the description of one of your forums, as in the bit underneath one of the forum sections name?
Do you mean the description of one of your forums, as in the bit underneath one of the forum sections name?
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Some questions
LGforum wrote:Wait what do you mean forum description?
Do you mean the description of one of your forums, as in the bit underneath one of the forum sections name?
Re: Some questions
That's not your forum description, that's your homepage message and no you can not set permissions for that.
I think some script for guests on your forum is not functioning properly as I could not exacute any script as a guest on your forum.
I think some script for guests on your forum is not functioning properly as I could not exacute any script as a guest on your forum.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Some questions
Its not working for your guests because another one of your scripts is hitting an error.
The other script which is failing is this:
The other script which is failing is this:
- Code:
$(function(){document.getElementById('i_icon_mini_message').nextSibling.nodeValue='Inbox'});
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: Some questions
Nera. wrote:That's not your forum description, that's your homepage message and no you can not set permissions for that.
I think some script for guests on your forum is not functioning properly as I could not exacute any script as a guest on your forum.
yes, it's homepage message...sorry my mistake
LGforum wrote:Its not working for your guests because another one of your scripts is hitting an error.
The other script which is failing is this:Because the PM link does not show up for guests the script is failing to execute, causing the script in this thread to fail too.
- Code:
$(function(){document.getElementById('i_icon_mini_message').nextSibling.nodeValue='Inbox'});
problem solved thanks to you new code
tnx
Re: Some questions
Topic Solved & Moved Note: You can also help the staff member's work by EDITING your topic and marking it as solved. |
Jophy- ForumGuru
- Posts : 17922
Reputation : 836
Language : English
Location : Somewhere
Similar topics
» 3 questions, non related,Breadcrumbs Module, Gif questions, ?!?Footer at the top?!?
» Many CSS questions
» 2 Questions
» I Have A Few questions
» um a few PHP questions
» Many CSS questions
» 2 Questions
» I Have A Few questions
» um a few PHP questions
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum