Thanks for your query.
Loose motions can be due to viral or bacterial infection.
Since you have started on ofloxacin
and still there is no improvement means that it is ineffetive and possibly it could be a viral infection.
Better option will be to get her stool routine test done and then consult a Paediatrician and he will treat her accordingly.
Till then you give her ORS
powder mixed in water to prevent dehydration
is not good at least in children as it can cause unnecessary side effects.