Is there a way, with php, to insert code in the source code before a specific/defined keyword?
eg. say i have a little javascript that shows information about a certain work, like blue widgets. so when blue widgets is displayed and you float your mouse over it a little pop up will come up saying a few things about blue widgets.
what i'd like to do is make an include file that dynamically inserts that java code whenever blue widgets appears on the screen, without me having to always manually put in the code.
is this possible?
eg. say i have a little javascript that shows information about a certain work, like blue widgets. so when blue widgets is displayed and you float your mouse over it a little pop up will come up saying a few things about blue widgets.
what i'd like to do is make an include file that dynamically inserts that java code whenever blue widgets appears on the screen, without me having to always manually put in the code.
is this possible?